<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>axicdma: Axicdma_v4_0</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">axicdma
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__axicdma__v4__0.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Axicdma_v4_0</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga2f2bfb34c5bfec00baa06b782e7e68a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>(BaseAddress,  RegOffset)&#160;&#160;&#160;XAxiCdma_In32((BaseAddress) + (u32)(RegOffset))</td></tr>
<tr class="memdesc:ga2f2bfb34c5bfec00baa06b782e7e68a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read a given register.  <a href="#ga2f2bfb34c5bfec00baa06b782e7e68a6">More...</a><br /></td></tr>
<tr class="separator:ga2f2bfb34c5bfec00baa06b782e7e68a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d7304606411f8ed955c6d930e387c18"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga4d7304606411f8ed955c6d930e387c18">XAxiCdma_WriteReg</a>(BaseAddress,  RegOffset,  Data)&#160;&#160;&#160;XAxiCdma_Out32((BaseAddress) + (u32)(RegOffset), (u32)(Data))</td></tr>
<tr class="memdesc:ga4d7304606411f8ed955c6d930e387c18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write to a given register.  <a href="#ga4d7304606411f8ed955c6d930e387c18">More...</a><br /></td></tr>
<tr class="separator:ga4d7304606411f8ed955c6d930e387c18"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga33f9ce1ca035334d63cd08d4cf26daea"><td class="memItemLeft" align="right" valign="top">typedef UINTPTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a>[<a class="el" href="group__axicdma__v4__0.html#ga710808485441a384edf28b803363f3dd">XAXICDMA_BD_NUM_WORDS</a>]</td></tr>
<tr class="memdesc:ga33f9ce1ca035334d63cd08d4cf26daea"><td class="mdescLeft">&#160;</td><td class="mdescRight">XAxiCdma_Bd.  <a href="#ga33f9ce1ca035334d63cd08d4cf26daea">More...</a><br /></td></tr>
<tr class="separator:ga33f9ce1ca035334d63cd08d4cf26daea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gae1fbdb8f7ad8926f744c771e07814f72"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gae1fbdb8f7ad8926f744c771e07814f72">XAxiCdma_GetError</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:gae1fbdb8f7ad8926f744c771e07814f72"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the status on error bits.  <a href="#gae1fbdb8f7ad8926f744c771e07814f72">More...</a><br /></td></tr>
<tr class="separator:gae1fbdb8f7ad8926f744c771e07814f72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaf97cc8317af0bf1678973925beff0c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaaf97cc8317af0bf1678973925beff0c5">XAxiCdma_Reset</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:gaaf97cc8317af0bf1678973925beff0c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function conducts hardware reset.  <a href="#gaaf97cc8317af0bf1678973925beff0c5">More...</a><br /></td></tr>
<tr class="separator:gaaf97cc8317af0bf1678973925beff0c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2575375744593bd55425365dde7744e5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga2575375744593bd55425365dde7744e5">XAxiCdma_ResetIsDone</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:ga2575375744593bd55425365dde7744e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function checks whether the hardware reset is done.  <a href="#ga2575375744593bd55425365dde7744e5">More...</a><br /></td></tr>
<tr class="separator:ga2575375744593bd55425365dde7744e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab746b095007351c2fb2c1a7cf3693f2c"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gab746b095007351c2fb2c1a7cf3693f2c">XAxiCdma_CfgInitialize</a> (XAxiCdma *InstancePtr, XAxiCdma_Config *CfgPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:gab746b095007351c2fb2c1a7cf3693f2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes the driver.  <a href="#gab746b095007351c2fb2c1a7cf3693f2c">More...</a><br /></td></tr>
<tr class="separator:gab746b095007351c2fb2c1a7cf3693f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee6e140ed15cd9b7e49145e01220115a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaee6e140ed15cd9b7e49145e01220115a">XAxiCdma_IsBusy</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:gaee6e140ed15cd9b7e49145e01220115a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function checks whether the hardware is doing transfer.  <a href="#gaee6e140ed15cd9b7e49145e01220115a">More...</a><br /></td></tr>
<tr class="separator:gaee6e140ed15cd9b7e49145e01220115a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga815f36efce97dba797f67f9acbbb761d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga815f36efce97dba797f67f9acbbb761d">XAxiCdma_SelectKeyHole</a> (XAxiCdma *InstancePtr, u32 Direction, u32 Select)</td></tr>
<tr class="memdesc:ga815f36efce97dba797f67f9acbbb761d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function configures KeyHole Write/Read Feature.  <a href="#ga815f36efce97dba797f67f9acbbb761d">More...</a><br /></td></tr>
<tr class="separator:ga815f36efce97dba797f67f9acbbb761d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e81ba2046ada4a40527c50ee7fdce9a"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga1e81ba2046ada4a40527c50ee7fdce9a">XAxiCdma_SimpleTransfer</a> (XAxiCdma *InstancePtr, UINTPTR SrcAddr, UINTPTR DstAddr, int Length, XAxiCdma_CallBackFn SimpleCallBack, void *CallBackRef)</td></tr>
<tr class="memdesc:ga1e81ba2046ada4a40527c50ee7fdce9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function does one simple transfer submission.  <a href="#ga1e81ba2046ada4a40527c50ee7fdce9a">More...</a><br /></td></tr>
<tr class="separator:ga1e81ba2046ada4a40527c50ee7fdce9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91adf55050cb617cee00b0ba2f0d754e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga91adf55050cb617cee00b0ba2f0d754e">XAxiCdma_SetCoalesce</a> (XAxiCdma *InstancePtr, u32 Counter, u32 Delay)</td></tr>
<tr class="memdesc:ga91adf55050cb617cee00b0ba2f0d754e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function tries to set the interrupt coalescing threshold counter and the delay counter.  <a href="#ga91adf55050cb617cee00b0ba2f0d754e">More...</a><br /></td></tr>
<tr class="separator:ga91adf55050cb617cee00b0ba2f0d754e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga92087f03877293982f895e8178557f6a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga92087f03877293982f895e8178557f6a">XAxiCdma_GetCoalesce</a> (XAxiCdma *InstancePtr, u32 *CounterPtr, u32 *DelayPtr)</td></tr>
<tr class="memdesc:ga92087f03877293982f895e8178557f6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the current setting of the interrupt coalescing threshold counter and the delay counter.  <a href="#ga92087f03877293982f895e8178557f6a">More...</a><br /></td></tr>
<tr class="separator:ga92087f03877293982f895e8178557f6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3287c31f1aa41a1e4a535af134324524"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga3287c31f1aa41a1e4a535af134324524">XAxiCdma_DumpRegisters</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:ga3287c31f1aa41a1e4a535af134324524"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function dumps the registers of this DMA instance.  <a href="#ga3287c31f1aa41a1e4a535af134324524">More...</a><br /></td></tr>
<tr class="separator:ga3287c31f1aa41a1e4a535af134324524"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ecc6331ed89e613e7f1fb53f45a4cb0"><td class="memItemLeft" align="right" valign="top">XAxiCdma_Config *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga3ecc6331ed89e613e7f1fb53f45a4cb0">XAxiCdma_LookupConfig</a> (u32 DeviceId)</td></tr>
<tr class="memdesc:ga3ecc6331ed89e613e7f1fb53f45a4cb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Look up the hardware configuration for a device instance.  <a href="#ga3ecc6331ed89e613e7f1fb53f45a4cb0">More...</a><br /></td></tr>
<tr class="separator:ga3ecc6331ed89e613e7f1fb53f45a4cb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f146fe224ea4c9a86477de3030dd79a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga9f146fe224ea4c9a86477de3030dd79a">XAxiCdma_IntrEnable</a> (XAxiCdma *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:ga9f146fe224ea4c9a86477de3030dd79a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables interrupts specified by the Mask.  <a href="#ga9f146fe224ea4c9a86477de3030dd79a">More...</a><br /></td></tr>
<tr class="separator:ga9f146fe224ea4c9a86477de3030dd79a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a269e884ce6e3552313521dea8032b6"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga1a269e884ce6e3552313521dea8032b6">XAxiCdma_IntrGetEnabled</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:ga1a269e884ce6e3552313521dea8032b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the mask for the interrupts that are currently enabled.  <a href="#ga1a269e884ce6e3552313521dea8032b6">More...</a><br /></td></tr>
<tr class="separator:ga1a269e884ce6e3552313521dea8032b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdccf08d74f4e037b06a36a2e9db2877"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gabdccf08d74f4e037b06a36a2e9db2877">XAxiCdma_IntrDisable</a> (XAxiCdma *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:gabdccf08d74f4e037b06a36a2e9db2877"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables interrupts specified by the Mask.  <a href="#gabdccf08d74f4e037b06a36a2e9db2877">More...</a><br /></td></tr>
<tr class="separator:gabdccf08d74f4e037b06a36a2e9db2877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8acd5bf5f5f072c6e425a8cc1b589498"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga8acd5bf5f5f072c6e425a8cc1b589498">XAxiCdma_IntrHandler</a> (void *HandlerRef)</td></tr>
<tr class="memdesc:ga8acd5bf5f5f072c6e425a8cc1b589498"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the driver, it handles all the interrupts.  <a href="#ga8acd5bf5f5f072c6e425a8cc1b589498">More...</a><br /></td></tr>
<tr class="separator:ga8acd5bf5f5f072c6e425a8cc1b589498"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga18d5a9deaab709c610d32e42c77df952"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga18d5a9deaab709c610d32e42c77df952">XAxiCdma_BdRingCntCalc</a> (u32 Alignment, u32 Bytes, UINTPTR BdBuffAddr)</td></tr>
<tr class="memdesc:ga18d5a9deaab709c610d32e42c77df952"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates how many BDs can be built using given number of bytes of memory, according to alignment provided.  <a href="#ga18d5a9deaab709c610d32e42c77df952">More...</a><br /></td></tr>
<tr class="separator:ga18d5a9deaab709c610d32e42c77df952"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1525cddb18badb5737c1017f2a0d34e1"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga1525cddb18badb5737c1017f2a0d34e1">XAxiCdma_BdRingMemCalc</a> (u32 Alignment, int NumBd)</td></tr>
<tr class="memdesc:ga1525cddb18badb5737c1017f2a0d34e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates how much memory is needed to build requested number of BDs.  <a href="#ga1525cddb18badb5737c1017f2a0d34e1">More...</a><br /></td></tr>
<tr class="separator:ga1525cddb18badb5737c1017f2a0d34e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6dda9c5b4ded0bdbf1e85d6532461ef6"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga6dda9c5b4ded0bdbf1e85d6532461ef6">XAxiCdma_BdRingGetCnt</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:ga6dda9c5b4ded0bdbf1e85d6532461ef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the total number of BDs in the BD ring.  <a href="#ga6dda9c5b4ded0bdbf1e85d6532461ef6">More...</a><br /></td></tr>
<tr class="separator:ga6dda9c5b4ded0bdbf1e85d6532461ef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07f505ed309a6eb2172e7e8e154fa082"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga07f505ed309a6eb2172e7e8e154fa082">XAxiCdma_BdRingGetFreeCnt</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:ga07f505ed309a6eb2172e7e8e154fa082"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the number of free BDs.  <a href="#ga07f505ed309a6eb2172e7e8e154fa082">More...</a><br /></td></tr>
<tr class="separator:ga07f505ed309a6eb2172e7e8e154fa082"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4677cddba8354ca3979f9b6ae386ffde"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga4677cddba8354ca3979f9b6ae386ffde">XAxiCdma_BdRingSnapShotCurrBd</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:ga4677cddba8354ca3979f9b6ae386ffde"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function grabs a copy of the current BD pointer from the hardware.  <a href="#ga4677cddba8354ca3979f9b6ae386ffde">More...</a><br /></td></tr>
<tr class="separator:ga4677cddba8354ca3979f9b6ae386ffde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6f6efa84ee457f155a4c7a94e4227da"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gab6f6efa84ee457f155a4c7a94e4227da">XAxiCdma_BdRingGetCurrBd</a> (XAxiCdma *InstancePtr)</td></tr>
<tr class="memdesc:gab6f6efa84ee457f155a4c7a94e4227da"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function grabs a copy of the current BD pointer from the hardware.  <a href="#gab6f6efa84ee457f155a4c7a94e4227da">More...</a><br /></td></tr>
<tr class="separator:gab6f6efa84ee457f155a4c7a94e4227da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabfe3657b7aad9487946d6bb436aeba18"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gabfe3657b7aad9487946d6bb436aeba18">XAxiCdma_BdRingNext</a> (XAxiCdma *InstancePtr, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:gabfe3657b7aad9487946d6bb436aeba18"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the next BD of the current BD on the BD ring.  <a href="#gabfe3657b7aad9487946d6bb436aeba18">More...</a><br /></td></tr>
<tr class="separator:gabfe3657b7aad9487946d6bb436aeba18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga24af2a3eacaf56c972e6313683a3f7e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga24af2a3eacaf56c972e6313683a3f7e0">XAxiCdma_BdRingPrev</a> (XAxiCdma *InstancePtr, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:ga24af2a3eacaf56c972e6313683a3f7e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the previous BD of the current BD on the BD ring.  <a href="#ga24af2a3eacaf56c972e6313683a3f7e0">More...</a><br /></td></tr>
<tr class="separator:ga24af2a3eacaf56c972e6313683a3f7e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab36598e09c09ffa680b6c0f207baf9f5"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gab36598e09c09ffa680b6c0f207baf9f5">XAxiCdma_BdRingCreate</a> (XAxiCdma *InstancePtr, UINTPTR PhysAddr, UINTPTR VirtAddr, u32 Alignment, int BdCount)</td></tr>
<tr class="memdesc:gab36598e09c09ffa680b6c0f207baf9f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function creates the BD ring for the driver instance.  <a href="#gab36598e09c09ffa680b6c0f207baf9f5">More...</a><br /></td></tr>
<tr class="separator:gab36598e09c09ffa680b6c0f207baf9f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3183f9f25654d2a066c19213f29897be"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga3183f9f25654d2a066c19213f29897be">XAxiCdma_BdRingClone</a> (XAxiCdma *InstancePtr, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *TemplateBdPtr)</td></tr>
<tr class="memdesc:ga3183f9f25654d2a066c19213f29897be"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clones all BDs in the BD ring to be the same as the given BD.  <a href="#ga3183f9f25654d2a066c19213f29897be">More...</a><br /></td></tr>
<tr class="separator:ga3183f9f25654d2a066c19213f29897be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27dd0cdc27b7a724533db75336c4acc6"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga27dd0cdc27b7a724533db75336c4acc6">XAxiCdma_BdRingAlloc</a> (XAxiCdma *InstancePtr, int NumBd, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> **BdSetPtr)</td></tr>
<tr class="memdesc:ga27dd0cdc27b7a724533db75336c4acc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function requests number of BDs from the BD ring.  <a href="#ga27dd0cdc27b7a724533db75336c4acc6">More...</a><br /></td></tr>
<tr class="separator:ga27dd0cdc27b7a724533db75336c4acc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9be6e4072c2a17f4519ffa9f9ec3332f"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga9be6e4072c2a17f4519ffa9f9ec3332f">XAxiCdma_BdRingUnAlloc</a> (XAxiCdma *InstancePtr, int NumBd, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdSetPtr)</td></tr>
<tr class="memdesc:ga9be6e4072c2a17f4519ffa9f9ec3332f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function tries to free the number of BDs back to the ring.  <a href="#ga9be6e4072c2a17f4519ffa9f9ec3332f">More...</a><br /></td></tr>
<tr class="separator:ga9be6e4072c2a17f4519ffa9f9ec3332f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c5cd26d9fd3311c2ccfa4253c587e68"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga3c5cd26d9fd3311c2ccfa4253c587e68">XAxiCdma_BdRingToHw</a> (XAxiCdma *InstancePtr, int NumBd, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdSetPtr, XAxiCdma_CallBackFn CallBackFn, void *CallBackRef)</td></tr>
<tr class="memdesc:ga3c5cd26d9fd3311c2ccfa4253c587e68"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function tries to enqueue the number of BDs to the hardware.  <a href="#ga3c5cd26d9fd3311c2ccfa4253c587e68">More...</a><br /></td></tr>
<tr class="separator:ga3c5cd26d9fd3311c2ccfa4253c587e68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafce6a8283bdec8b9c35169c7cd29f4dc"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gafce6a8283bdec8b9c35169c7cd29f4dc">XAxiCdma_BdRingFromHw</a> (XAxiCdma *InstancePtr, int BdLimit, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> **BdSetPtr)</td></tr>
<tr class="memdesc:gafce6a8283bdec8b9c35169c7cd29f4dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function tries to retrieve completed BDs from the hardware.  <a href="#gafce6a8283bdec8b9c35169c7cd29f4dc">More...</a><br /></td></tr>
<tr class="separator:gafce6a8283bdec8b9c35169c7cd29f4dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab204e3f92e4edd3865ecf6b344f0b864"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gab204e3f92e4edd3865ecf6b344f0b864">XAxiCdma_BdRingFree</a> (XAxiCdma *InstancePtr, int NumBd, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdSetPtr)</td></tr>
<tr class="memdesc:gab204e3f92e4edd3865ecf6b344f0b864"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the BDs back to the free pool of the BD ring.  <a href="#gab204e3f92e4edd3865ecf6b344f0b864">More...</a><br /></td></tr>
<tr class="separator:gab204e3f92e4edd3865ecf6b344f0b864"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae1333cf9309c85b0f620e026c889e01c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gae1333cf9309c85b0f620e026c889e01c">XAxiCdma_BdSetCurBdPtr</a> (XAxiCdma *InstancePtr, UINTPTR CurBdPtr)</td></tr>
<tr class="memdesc:gae1333cf9309c85b0f620e026c889e01c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function set the Current BD ptr of a BD.  <a href="#gae1333cf9309c85b0f620e026c889e01c">More...</a><br /></td></tr>
<tr class="separator:gae1333cf9309c85b0f620e026c889e01c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1141024e912e7012d2c716cef9fc791f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga1141024e912e7012d2c716cef9fc791f">XAxiCdma_BdSetTailBdPtr</a> (XAxiCdma *InstancePtr, UINTPTR TailBdPtr)</td></tr>
<tr class="memdesc:ga1141024e912e7012d2c716cef9fc791f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function set the Tail BD ptr of a BD.  <a href="#ga1141024e912e7012d2c716cef9fc791f">More...</a><br /></td></tr>
<tr class="separator:ga1141024e912e7012d2c716cef9fc791f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga594480d7591185014d72869ac15fd490"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga594480d7591185014d72869ac15fd490">XAxiCdma_BdClear</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:ga594480d7591185014d72869ac15fd490"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears the content of the BD.  <a href="#ga594480d7591185014d72869ac15fd490">More...</a><br /></td></tr>
<tr class="separator:ga594480d7591185014d72869ac15fd490"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa16c4a61c0b1b2892ee5869e62546884"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaa16c4a61c0b1b2892ee5869e62546884">XAxiCdma_BdClone</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, <a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *TmpBd)</td></tr>
<tr class="memdesc:gaa16c4a61c0b1b2892ee5869e62546884"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clones the content from the template BD.  <a href="#gaa16c4a61c0b1b2892ee5869e62546884">More...</a><br /></td></tr>
<tr class="separator:gaa16c4a61c0b1b2892ee5869e62546884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2091d8d3a0a4743a557307b1153b4791"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga2091d8d3a0a4743a557307b1153b4791">XAxiCdma_BdGetNextPtr</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:ga2091d8d3a0a4743a557307b1153b4791"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the next BD pointer of the BD.  <a href="#ga2091d8d3a0a4743a557307b1153b4791">More...</a><br /></td></tr>
<tr class="separator:ga2091d8d3a0a4743a557307b1153b4791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4d51959154b33364f8e3104c4a1afb0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gab4d51959154b33364f8e3104c4a1afb0">XAxiCdma_BdSetNextPtr</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, UINTPTR NextBdPtr)</td></tr>
<tr class="memdesc:gab4d51959154b33364f8e3104c4a1afb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function set the Next BD ptr of a BD.  <a href="#gab4d51959154b33364f8e3104c4a1afb0">More...</a><br /></td></tr>
<tr class="separator:gab4d51959154b33364f8e3104c4a1afb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25c6311cbd4ac7c3a1dec2e2a59c0bf7"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga25c6311cbd4ac7c3a1dec2e2a59c0bf7">XAxiCdma_BdGetSts</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:ga25c6311cbd4ac7c3a1dec2e2a59c0bf7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the completion status of the BD.  <a href="#ga25c6311cbd4ac7c3a1dec2e2a59c0bf7">More...</a><br /></td></tr>
<tr class="separator:ga25c6311cbd4ac7c3a1dec2e2a59c0bf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ee87642c7b803ad1543c5f839872594"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga5ee87642c7b803ad1543c5f839872594">XAxiCdma_BdClearSts</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:ga5ee87642c7b803ad1543c5f839872594"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears the status bits of the BD.  <a href="#ga5ee87642c7b803ad1543c5f839872594">More...</a><br /></td></tr>
<tr class="separator:ga5ee87642c7b803ad1543c5f839872594"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga18cd5efedba0025703b7c3a845f52cad"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga18cd5efedba0025703b7c3a845f52cad">XAxiCdma_BdSetSrcBufAddr</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, UINTPTR Addr)</td></tr>
<tr class="memdesc:ga18cd5efedba0025703b7c3a845f52cad"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the source address of the BD.  <a href="#ga18cd5efedba0025703b7c3a845f52cad">More...</a><br /></td></tr>
<tr class="separator:ga18cd5efedba0025703b7c3a845f52cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae42ce84dde541ca08b7995ded0e164cb"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gae42ce84dde541ca08b7995ded0e164cb">XAxiCdma_BdGetSrcBufAddr</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:gae42ce84dde541ca08b7995ded0e164cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the source address of the BD.  <a href="#gae42ce84dde541ca08b7995ded0e164cb">More...</a><br /></td></tr>
<tr class="separator:gae42ce84dde541ca08b7995ded0e164cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b4866bb4184857c6de973d76f7e7e71"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga2b4866bb4184857c6de973d76f7e7e71">XAxiCdma_BdSetDstBufAddr</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, UINTPTR Addr)</td></tr>
<tr class="memdesc:ga2b4866bb4184857c6de973d76f7e7e71"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the destination address of the BD.  <a href="#ga2b4866bb4184857c6de973d76f7e7e71">More...</a><br /></td></tr>
<tr class="separator:ga2b4866bb4184857c6de973d76f7e7e71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae95f4fe35bf907a14c7ec44dcc2f0033"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gae95f4fe35bf907a14c7ec44dcc2f0033">XAxiCdma_BdGetDstBufAddr</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:gae95f4fe35bf907a14c7ec44dcc2f0033"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the destination address of the BD.  <a href="#gae95f4fe35bf907a14c7ec44dcc2f0033">More...</a><br /></td></tr>
<tr class="separator:gae95f4fe35bf907a14c7ec44dcc2f0033"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3467e25f29ab081f1d9b0a1a685adbfa"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga3467e25f29ab081f1d9b0a1a685adbfa">XAxiCdma_BdSetLength</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, int LenBytes)</td></tr>
<tr class="memdesc:ga3467e25f29ab081f1d9b0a1a685adbfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the length of the BD.  <a href="#ga3467e25f29ab081f1d9b0a1a685adbfa">More...</a><br /></td></tr>
<tr class="separator:ga3467e25f29ab081f1d9b0a1a685adbfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d0201500b1c123a0eb67c02f9666598"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga2d0201500b1c123a0eb67c02f9666598">XAxiCdma_BdGetLength</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:ga2d0201500b1c123a0eb67c02f9666598"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the length of the BD.  <a href="#ga2d0201500b1c123a0eb67c02f9666598">More...</a><br /></td></tr>
<tr class="separator:ga2d0201500b1c123a0eb67c02f9666598"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga27a4cefa4eee7b30158763c0619c725b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga27a4cefa4eee7b30158763c0619c725b">XAxiCdma_BdSetPhysAddr</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, UINTPTR PhysAddr)</td></tr>
<tr class="memdesc:ga27a4cefa4eee7b30158763c0619c725b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the Physical address of the BD.  <a href="#ga27a4cefa4eee7b30158763c0619c725b">More...</a><br /></td></tr>
<tr class="separator:ga27a4cefa4eee7b30158763c0619c725b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1025e9931f9d6fc4b7a0d526169eeab0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga1025e9931f9d6fc4b7a0d526169eeab0">XAxiCdma_BdSetIsLite</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, int IsLite)</td></tr>
<tr class="memdesc:ga1025e9931f9d6fc4b7a0d526169eeab0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the is lite mode field of the BD.  <a href="#ga1025e9931f9d6fc4b7a0d526169eeab0">More...</a><br /></td></tr>
<tr class="separator:ga1025e9931f9d6fc4b7a0d526169eeab0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga270070a493422c1d6f64842febb012d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga270070a493422c1d6f64842febb012d8">XAxiCdma_BdSetHasDRE</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, int HasDRE)</td></tr>
<tr class="memdesc:ga270070a493422c1d6f64842febb012d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the has DRE field of the BD.  <a href="#ga270070a493422c1d6f64842febb012d8">More...</a><br /></td></tr>
<tr class="separator:ga270070a493422c1d6f64842febb012d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7956eaa8a90bcf2a0894d513b9c15639"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga7956eaa8a90bcf2a0894d513b9c15639">XAxiCdma_BdSetWordLen</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, int WordLen)</td></tr>
<tr class="memdesc:ga7956eaa8a90bcf2a0894d513b9c15639"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the word length field of the BD.  <a href="#ga7956eaa8a90bcf2a0894d513b9c15639">More...</a><br /></td></tr>
<tr class="separator:ga7956eaa8a90bcf2a0894d513b9c15639"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03aff38e0c27e9925e4a79986e351e0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga03aff38e0c27e9925e4a79986e351e0d">XAxiCdma_BdSetMaxLen</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr, int MaxLen)</td></tr>
<tr class="memdesc:ga03aff38e0c27e9925e4a79986e351e0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the maximum transfer length field of the BD.  <a href="#ga03aff38e0c27e9925e4a79986e351e0d">More...</a><br /></td></tr>
<tr class="separator:ga03aff38e0c27e9925e4a79986e351e0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga535e9b3301b3227aed27e42961304165"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga535e9b3301b3227aed27e42961304165">XAxiCdma_BdGetPhysAddr</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:ga535e9b3301b3227aed27e42961304165"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the Physical address of the BD.  <a href="#ga535e9b3301b3227aed27e42961304165">More...</a><br /></td></tr>
<tr class="separator:ga535e9b3301b3227aed27e42961304165"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37f4ecb500f691583798662804d5da18"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga37f4ecb500f691583798662804d5da18">XAxiCdma_DumpBd</a> (<a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *BdPtr)</td></tr>
<tr class="memdesc:ga37f4ecb500f691583798662804d5da18"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function dumps the BD, it is a debug utility.  <a href="#ga37f4ecb500f691583798662804d5da18">More...</a><br /></td></tr>
<tr class="separator:ga37f4ecb500f691583798662804d5da18"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Call Back function</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp8f6a3c00c046aeaf7eabb413297b5f97"></a>If interrupt is enabled, and the application wants to be notified about the completion of a transfer, the application should register its call back function to the driver.</p>
<p>The call back function is registered through the transfer submission.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is the call back reference passed in by application. A NULL pointer is acceptable.</td></tr>
    <tr><td class="paramname">IrqMask</td><td>is the interrupt mask regarding this completion </td></tr>
    <tr><td class="paramname">NumBdPtr</td><td>is the pointer to number of BDs this handler should handle, for simple transfer, it is ignored. </td></tr>
  </table>
  </dd>
</dl>
</td></tr>
<tr class="memitem:ga41a1d5619e21869887d0665ed2c72123"><td class="memItemLeft" align="right" valign="top"><a id="ga41a1d5619e21869887d0665ed2c72123"></a>
typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><b>XAxiCdma_CallBackFn</b>) (void *CallBackRef, u32 IrqMask, int *NumBdPtr)</td></tr>
<tr class="separator:ga41a1d5619e21869887d0665ed2c72123"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Buffer Descriptor Alignment</h2></td></tr>
<tr class="memitem:gaae822f32753ddd2fec7be5d3c9e9a4ff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaae822f32753ddd2fec7be5d3c9e9a4ff">XAXICDMA_BD_MINIMUM_ALIGNMENT</a>&#160;&#160;&#160;0x40</td></tr>
<tr class="memdesc:gaae822f32753ddd2fec7be5d3c9e9a4ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum byte alignment requirement for descriptors to satisfy both hardware/software needs.  <a href="#gaae822f32753ddd2fec7be5d3c9e9a4ff">More...</a><br /></td></tr>
<tr class="separator:gaae822f32753ddd2fec7be5d3c9e9a4ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Maximum transfer length</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp9719975d4db7edfda8877c2b11b1ec78"></a>This is determined by hardware </p>
</td></tr>
<tr class="memitem:gac84f0c20f910716d8f3e48ff23294440"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gac84f0c20f910716d8f3e48ff23294440">XAXICDMA_MAX_TRANSFER_LEN</a>&#160;&#160;&#160;0x7FFFFF</td></tr>
<tr class="memdesc:gac84f0c20f910716d8f3e48ff23294440"><td class="mdescLeft">&#160;</td><td class="mdescRight">Max length hw supports.  <a href="#gac84f0c20f910716d8f3e48ff23294440">More...</a><br /></td></tr>
<tr class="separator:gac84f0c20f910716d8f3e48ff23294440"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Register offset definitions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp5821cde2aecaeb26d2a172d38b0a6a4d"></a>Register accesses are 32-bit. </p>
</td></tr>
<tr class="memitem:ga1f23c9a4fe3565eb423286405a1de5ca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>&#160;&#160;&#160;0x00000000</td></tr>
<tr class="memdesc:ga1f23c9a4fe3565eb423286405a1de5ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control register.  <a href="#ga1f23c9a4fe3565eb423286405a1de5ca">More...</a><br /></td></tr>
<tr class="separator:ga1f23c9a4fe3565eb423286405a1de5ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5e9b49d3805237bc9ed772948fbf4ae"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaa5e9b49d3805237bc9ed772948fbf4ae">XAXICDMA_SR_OFFSET</a>&#160;&#160;&#160;0x00000004</td></tr>
<tr class="memdesc:gaa5e9b49d3805237bc9ed772948fbf4ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status register.  <a href="#gaa5e9b49d3805237bc9ed772948fbf4ae">More...</a><br /></td></tr>
<tr class="separator:gaa5e9b49d3805237bc9ed772948fbf4ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf62f028c2ed24dea6e0ebf8388cdf670"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaf62f028c2ed24dea6e0ebf8388cdf670">XAXICDMA_CDESC_OFFSET</a>&#160;&#160;&#160;0x00000008</td></tr>
<tr class="memdesc:gaf62f028c2ed24dea6e0ebf8388cdf670"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current descriptor pointer.  <a href="#gaf62f028c2ed24dea6e0ebf8388cdf670">More...</a><br /></td></tr>
<tr class="separator:gaf62f028c2ed24dea6e0ebf8388cdf670"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac2ba51f1e81b8ed8fe31bc5632d2980"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaac2ba51f1e81b8ed8fe31bc5632d2980">XAXICDMA_CDESC_MSB_OFFSET</a>&#160;&#160;&#160;0x0000000C</td></tr>
<tr class="memdesc:gaac2ba51f1e81b8ed8fe31bc5632d2980"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current descriptor pointer.  <a href="#gaac2ba51f1e81b8ed8fe31bc5632d2980">More...</a><br /></td></tr>
<tr class="separator:gaac2ba51f1e81b8ed8fe31bc5632d2980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a00af58a865daf4ee6995ade0c9cdd1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga5a00af58a865daf4ee6995ade0c9cdd1">XAXICDMA_TDESC_OFFSET</a>&#160;&#160;&#160;0x00000010</td></tr>
<tr class="memdesc:ga5a00af58a865daf4ee6995ade0c9cdd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tail descriptor pointer.  <a href="#ga5a00af58a865daf4ee6995ade0c9cdd1">More...</a><br /></td></tr>
<tr class="separator:ga5a00af58a865daf4ee6995ade0c9cdd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaed7af011eefd18c937d40571593b9297"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaed7af011eefd18c937d40571593b9297">XAXICDMA_TDESC_MSB_OFFSET</a>&#160;&#160;&#160;0x00000014</td></tr>
<tr class="memdesc:gaed7af011eefd18c937d40571593b9297"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tail descriptor pointer.  <a href="#gaed7af011eefd18c937d40571593b9297">More...</a><br /></td></tr>
<tr class="separator:gaed7af011eefd18c937d40571593b9297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53c4bf8e65e8770c6fe129160ad07e29"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga53c4bf8e65e8770c6fe129160ad07e29">XAXICDMA_SRCADDR_OFFSET</a>&#160;&#160;&#160;0x00000018</td></tr>
<tr class="memdesc:ga53c4bf8e65e8770c6fe129160ad07e29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Source address register.  <a href="#ga53c4bf8e65e8770c6fe129160ad07e29">More...</a><br /></td></tr>
<tr class="separator:ga53c4bf8e65e8770c6fe129160ad07e29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeca7eef88c0b04de01219565d5039d93"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaeca7eef88c0b04de01219565d5039d93">XAXICDMA_SRCADDR_MSB_OFFSET</a>&#160;&#160;&#160;0x0000001C</td></tr>
<tr class="memdesc:gaeca7eef88c0b04de01219565d5039d93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Source address register.  <a href="#gaeca7eef88c0b04de01219565d5039d93">More...</a><br /></td></tr>
<tr class="separator:gaeca7eef88c0b04de01219565d5039d93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3064fdc2bc683fa002bedf51498d810c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga3064fdc2bc683fa002bedf51498d810c">XAXICDMA_DSTADDR_OFFSET</a>&#160;&#160;&#160;0x00000020</td></tr>
<tr class="memdesc:ga3064fdc2bc683fa002bedf51498d810c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destination address register.  <a href="#ga3064fdc2bc683fa002bedf51498d810c">More...</a><br /></td></tr>
<tr class="separator:ga3064fdc2bc683fa002bedf51498d810c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a61d8801792647638b54afcafbd8a86"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga9a61d8801792647638b54afcafbd8a86">XAXICDMA_DSTADDR_MSB_OFFSET</a>&#160;&#160;&#160;0x00000024</td></tr>
<tr class="memdesc:ga9a61d8801792647638b54afcafbd8a86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destination address register.  <a href="#ga9a61d8801792647638b54afcafbd8a86">More...</a><br /></td></tr>
<tr class="separator:ga9a61d8801792647638b54afcafbd8a86"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Bitmasks of XAXICDMA_CR_OFFSET register</h2></td></tr>
<tr class="memitem:ga0f6d1104468e9f155a3b9477a84531a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga0f6d1104468e9f155a3b9477a84531a6">XAXICDMA_CR_RESET_MASK</a>&#160;&#160;&#160;0x00000004</td></tr>
<tr class="memdesc:ga0f6d1104468e9f155a3b9477a84531a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset DMA engine.  <a href="#ga0f6d1104468e9f155a3b9477a84531a6">More...</a><br /></td></tr>
<tr class="separator:ga0f6d1104468e9f155a3b9477a84531a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f6d1104468e9f155a3b9477a84531a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga0f6d1104468e9f155a3b9477a84531a6">XAXICDMA_CR_RESET_MASK</a>&#160;&#160;&#160;0x00000004</td></tr>
<tr class="memdesc:ga0f6d1104468e9f155a3b9477a84531a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset DMA engine.  <a href="#ga0f6d1104468e9f155a3b9477a84531a6">More...</a><br /></td></tr>
<tr class="separator:ga0f6d1104468e9f155a3b9477a84531a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0e7fa6cee94c02784164c315268c6a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gae0e7fa6cee94c02784164c315268c6a6">XAXICDMA_CR_SGMODE_MASK</a>&#160;&#160;&#160;0x00000008</td></tr>
<tr class="memdesc:gae0e7fa6cee94c02784164c315268c6a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scatter gather mode.  <a href="#gae0e7fa6cee94c02784164c315268c6a6">More...</a><br /></td></tr>
<tr class="separator:gae0e7fa6cee94c02784164c315268c6a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0e7fa6cee94c02784164c315268c6a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gae0e7fa6cee94c02784164c315268c6a6">XAXICDMA_CR_SGMODE_MASK</a>&#160;&#160;&#160;0x00000008</td></tr>
<tr class="memdesc:gae0e7fa6cee94c02784164c315268c6a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scatter gather mode.  <a href="#gae0e7fa6cee94c02784164c315268c6a6">More...</a><br /></td></tr>
<tr class="separator:gae0e7fa6cee94c02784164c315268c6a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac31916a2867c9e47834091131d449f88"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gac31916a2867c9e47834091131d449f88">XAXICDMA_CR_KHOLE_RD_MASK</a>&#160;&#160;&#160;0x00000010</td></tr>
<tr class="memdesc:gac31916a2867c9e47834091131d449f88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Keyhole Read.  <a href="#gac31916a2867c9e47834091131d449f88">More...</a><br /></td></tr>
<tr class="separator:gac31916a2867c9e47834091131d449f88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac31916a2867c9e47834091131d449f88"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gac31916a2867c9e47834091131d449f88">XAXICDMA_CR_KHOLE_RD_MASK</a>&#160;&#160;&#160;0x00000010</td></tr>
<tr class="memdesc:gac31916a2867c9e47834091131d449f88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Keyhole Read.  <a href="#gac31916a2867c9e47834091131d449f88">More...</a><br /></td></tr>
<tr class="separator:gac31916a2867c9e47834091131d449f88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ddbb13c86e6c75d5dd928447e3ec8bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga5ddbb13c86e6c75d5dd928447e3ec8bb">XAXICDMA_CR_KHOLE_WR_MASK</a>&#160;&#160;&#160;0x00000020</td></tr>
<tr class="memdesc:ga5ddbb13c86e6c75d5dd928447e3ec8bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Keyhole Write.  <a href="#ga5ddbb13c86e6c75d5dd928447e3ec8bb">More...</a><br /></td></tr>
<tr class="separator:ga5ddbb13c86e6c75d5dd928447e3ec8bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ddbb13c86e6c75d5dd928447e3ec8bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga5ddbb13c86e6c75d5dd928447e3ec8bb">XAXICDMA_CR_KHOLE_WR_MASK</a>&#160;&#160;&#160;0x00000020</td></tr>
<tr class="memdesc:ga5ddbb13c86e6c75d5dd928447e3ec8bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Keyhole Write.  <a href="#ga5ddbb13c86e6c75d5dd928447e3ec8bb">More...</a><br /></td></tr>
<tr class="separator:ga5ddbb13c86e6c75d5dd928447e3ec8bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Bitmasks of XAXICDMA_SR_OFFSET register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp23967eaf10beef0cec5eed13ef867792"></a>This register reports status of a DMA channel, including idle state, errors, and interrupts </p>
</td></tr>
<tr class="memitem:gaf2b93c5bebf2fdcf9516bcfefc7ae356"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaf2b93c5bebf2fdcf9516bcfefc7ae356">XAXICDMA_BTT_OFFSET</a>&#160;&#160;&#160;0x00000028</td></tr>
<tr class="memdesc:gaf2b93c5bebf2fdcf9516bcfefc7ae356"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bytes to transfer.  <a href="#gaf2b93c5bebf2fdcf9516bcfefc7ae356">More...</a><br /></td></tr>
<tr class="separator:gaf2b93c5bebf2fdcf9516bcfefc7ae356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2b93c5bebf2fdcf9516bcfefc7ae356"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaf2b93c5bebf2fdcf9516bcfefc7ae356">XAXICDMA_BTT_OFFSET</a>&#160;&#160;&#160;0x00000028</td></tr>
<tr class="memdesc:gaf2b93c5bebf2fdcf9516bcfefc7ae356"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bytes to transfer.  <a href="#gaf2b93c5bebf2fdcf9516bcfefc7ae356">More...</a><br /></td></tr>
<tr class="separator:gaf2b93c5bebf2fdcf9516bcfefc7ae356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73bb174cc046fe8f5d51da6f2d11cfaa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga73bb174cc046fe8f5d51da6f2d11cfaa">XAXICDMA_SR_IDLE_MASK</a>&#160;&#160;&#160;0x00000002</td></tr>
<tr class="memdesc:ga73bb174cc046fe8f5d51da6f2d11cfaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">DMA channel idle.  <a href="#ga73bb174cc046fe8f5d51da6f2d11cfaa">More...</a><br /></td></tr>
<tr class="separator:ga73bb174cc046fe8f5d51da6f2d11cfaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73bb174cc046fe8f5d51da6f2d11cfaa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga73bb174cc046fe8f5d51da6f2d11cfaa">XAXICDMA_SR_IDLE_MASK</a>&#160;&#160;&#160;0x00000002</td></tr>
<tr class="memdesc:ga73bb174cc046fe8f5d51da6f2d11cfaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">DMA channel idle.  <a href="#ga73bb174cc046fe8f5d51da6f2d11cfaa">More...</a><br /></td></tr>
<tr class="separator:ga73bb174cc046fe8f5d51da6f2d11cfaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada1a00e54aeb12049cd23a005eb47c52"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gada1a00e54aeb12049cd23a005eb47c52">XAXICDMA_SR_SGINCLD_MASK</a>&#160;&#160;&#160;0x00000008</td></tr>
<tr class="memdesc:gada1a00e54aeb12049cd23a005eb47c52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hybrid build.  <a href="#gada1a00e54aeb12049cd23a005eb47c52">More...</a><br /></td></tr>
<tr class="separator:gada1a00e54aeb12049cd23a005eb47c52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada1a00e54aeb12049cd23a005eb47c52"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gada1a00e54aeb12049cd23a005eb47c52">XAXICDMA_SR_SGINCLD_MASK</a>&#160;&#160;&#160;0x00000008</td></tr>
<tr class="memdesc:gada1a00e54aeb12049cd23a005eb47c52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hybrid build.  <a href="#gada1a00e54aeb12049cd23a005eb47c52">More...</a><br /></td></tr>
<tr class="separator:gada1a00e54aeb12049cd23a005eb47c52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c4d04c2dc3d2601d5e63067a7e5e751"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga9c4d04c2dc3d2601d5e63067a7e5e751">XAXICDMA_SR_ERR_INTERNAL_MASK</a>&#160;&#160;&#160;0x00000010</td></tr>
<tr class="memdesc:ga9c4d04c2dc3d2601d5e63067a7e5e751"><td class="mdescLeft">&#160;</td><td class="mdescRight">Datamover internal err.  <a href="#ga9c4d04c2dc3d2601d5e63067a7e5e751">More...</a><br /></td></tr>
<tr class="separator:ga9c4d04c2dc3d2601d5e63067a7e5e751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c4d04c2dc3d2601d5e63067a7e5e751"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga9c4d04c2dc3d2601d5e63067a7e5e751">XAXICDMA_SR_ERR_INTERNAL_MASK</a>&#160;&#160;&#160;0x00000010</td></tr>
<tr class="memdesc:ga9c4d04c2dc3d2601d5e63067a7e5e751"><td class="mdescLeft">&#160;</td><td class="mdescRight">Datamover internal err.  <a href="#ga9c4d04c2dc3d2601d5e63067a7e5e751">More...</a><br /></td></tr>
<tr class="separator:ga9c4d04c2dc3d2601d5e63067a7e5e751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga95a6cfba374a96cfc1f899bda9cdc9bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga95a6cfba374a96cfc1f899bda9cdc9bc">XAXICDMA_SR_ERR_SLAVE_MASK</a>&#160;&#160;&#160;0x00000020</td></tr>
<tr class="memdesc:ga95a6cfba374a96cfc1f899bda9cdc9bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Datamover slave err.  <a href="#ga95a6cfba374a96cfc1f899bda9cdc9bc">More...</a><br /></td></tr>
<tr class="separator:ga95a6cfba374a96cfc1f899bda9cdc9bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9bdb5e1000af0d05ba0b9481e71b5d2d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga9bdb5e1000af0d05ba0b9481e71b5d2d">XAXICDMA_SR_ERR_DECODE_MASK</a>&#160;&#160;&#160;0x00000040</td></tr>
<tr class="memdesc:ga9bdb5e1000af0d05ba0b9481e71b5d2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Datamover decode err.  <a href="#ga9bdb5e1000af0d05ba0b9481e71b5d2d">More...</a><br /></td></tr>
<tr class="separator:ga9bdb5e1000af0d05ba0b9481e71b5d2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga67ecbbc57656c5e82c86541961cef427"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga67ecbbc57656c5e82c86541961cef427">XAXICDMA_SR_ERR_SG_INT_MASK</a>&#160;&#160;&#160;0x00000100</td></tr>
<tr class="memdesc:ga67ecbbc57656c5e82c86541961cef427"><td class="mdescLeft">&#160;</td><td class="mdescRight">SG internal err.  <a href="#ga67ecbbc57656c5e82c86541961cef427">More...</a><br /></td></tr>
<tr class="separator:ga67ecbbc57656c5e82c86541961cef427"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad47677d061063e96f50b5d28af989879"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gad47677d061063e96f50b5d28af989879">XAXICDMA_SR_ERR_SG_SLV_MASK</a>&#160;&#160;&#160;0x00000200</td></tr>
<tr class="memdesc:gad47677d061063e96f50b5d28af989879"><td class="mdescLeft">&#160;</td><td class="mdescRight">SG slave err.  <a href="#gad47677d061063e96f50b5d28af989879">More...</a><br /></td></tr>
<tr class="separator:gad47677d061063e96f50b5d28af989879"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab7404d4487c554b8d6c8c984732c46e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaab7404d4487c554b8d6c8c984732c46e">XAXICDMA_SR_ERR_SG_DEC_MASK</a>&#160;&#160;&#160;0x00000400</td></tr>
<tr class="memdesc:gaab7404d4487c554b8d6c8c984732c46e"><td class="mdescLeft">&#160;</td><td class="mdescRight">SG decode err.  <a href="#gaab7404d4487c554b8d6c8c984732c46e">More...</a><br /></td></tr>
<tr class="separator:gaab7404d4487c554b8d6c8c984732c46e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabec2417b4096d65fa8f07a84eef38cea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gabec2417b4096d65fa8f07a84eef38cea">XAXICDMA_SR_ERR_ALL_MASK</a>&#160;&#160;&#160;0x00000770</td></tr>
<tr class="memdesc:gabec2417b4096d65fa8f07a84eef38cea"><td class="mdescLeft">&#160;</td><td class="mdescRight">All errors.  <a href="#gabec2417b4096d65fa8f07a84eef38cea">More...</a><br /></td></tr>
<tr class="separator:gabec2417b4096d65fa8f07a84eef38cea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Bitmask for descriptor</h2></td></tr>
<tr class="memitem:gaca543a8c03c6cd2d6d7284cc4bd119c2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaca543a8c03c6cd2d6d7284cc4bd119c2">XAXICDMA_DESC_LSB_MASK</a>&#160;&#160;&#160;(0xFFFFFFC0U)</td></tr>
<tr class="memdesc:gaca543a8c03c6cd2d6d7284cc4bd119c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">LSB Address mask.  <a href="#gaca543a8c03c6cd2d6d7284cc4bd119c2">More...</a><br /></td></tr>
<tr class="separator:gaca543a8c03c6cd2d6d7284cc4bd119c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Bitmask for interrupts</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp02a1bad3c75458826a49ba879f761eee"></a>These masks are shared by XAXICDMA_CR_OFFSET register and XAXICDMA_SR_OFFSET register </p>
</td></tr>
<tr class="memitem:ga7f2c9f2df6f106e9576ec6d0d0448e0b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga7f2c9f2df6f106e9576ec6d0d0448e0b">XAXICDMA_XR_IRQ_IOC_MASK</a>&#160;&#160;&#160;0x00001000</td></tr>
<tr class="memdesc:ga7f2c9f2df6f106e9576ec6d0d0448e0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Completion interrupt.  <a href="#ga7f2c9f2df6f106e9576ec6d0d0448e0b">More...</a><br /></td></tr>
<tr class="separator:ga7f2c9f2df6f106e9576ec6d0d0448e0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga615ffaf234787866d781bf67b214dda3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga615ffaf234787866d781bf67b214dda3">XAXICDMA_XR_IRQ_DELAY_MASK</a>&#160;&#160;&#160;0x00002000</td></tr>
<tr class="memdesc:ga615ffaf234787866d781bf67b214dda3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delay interrupt.  <a href="#ga615ffaf234787866d781bf67b214dda3">More...</a><br /></td></tr>
<tr class="separator:ga615ffaf234787866d781bf67b214dda3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa4987449eeea265c2cbe875a7eed3ee8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaa4987449eeea265c2cbe875a7eed3ee8">XAXICDMA_XR_IRQ_ERROR_MASK</a>&#160;&#160;&#160;0x00004000</td></tr>
<tr class="memdesc:gaa4987449eeea265c2cbe875a7eed3ee8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error interrupt.  <a href="#gaa4987449eeea265c2cbe875a7eed3ee8">More...</a><br /></td></tr>
<tr class="separator:gaa4987449eeea265c2cbe875a7eed3ee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2b921e876e581f84be0e7c152d13221"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gad2b921e876e581f84be0e7c152d13221">XAXICDMA_XR_IRQ_ALL_MASK</a>&#160;&#160;&#160;0x00007000</td></tr>
<tr class="memdesc:gad2b921e876e581f84be0e7c152d13221"><td class="mdescLeft">&#160;</td><td class="mdescRight">All interrupts.  <a href="#gad2b921e876e581f84be0e7c152d13221">More...</a><br /></td></tr>
<tr class="separator:gad2b921e876e581f84be0e7c152d13221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14246912a21d68d0dde910704b6d0ac6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga14246912a21d68d0dde910704b6d0ac6">XAXICDMA_XR_IRQ_SIMPLE_ALL_MASK</a>&#160;&#160;&#160;0x00005000</td></tr>
<tr class="memdesc:ga14246912a21d68d0dde910704b6d0ac6"><td class="mdescLeft">&#160;</td><td class="mdescRight">All interrupts for simple only mode.  <a href="#ga14246912a21d68d0dde910704b6d0ac6">More...</a><br /></td></tr>
<tr class="separator:ga14246912a21d68d0dde910704b6d0ac6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Bitmask and shift for delay counter and coalescing counter</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp0d9f3fe34807d366abb02e2cfede1110"></a>These masks are shared by XAXICDMA_CR_OFFSET register and XAXICDMA_SR_OFFSET register </p>
</td></tr>
<tr class="memitem:ga20aec8c77e90ca555dc44341c40af592"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga20aec8c77e90ca555dc44341c40af592">XAXICDMA_XR_DELAY_MASK</a>&#160;&#160;&#160;0xFF000000</td></tr>
<tr class="memdesc:ga20aec8c77e90ca555dc44341c40af592"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delay timeout counter.  <a href="#ga20aec8c77e90ca555dc44341c40af592">More...</a><br /></td></tr>
<tr class="separator:ga20aec8c77e90ca555dc44341c40af592"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga156955220ded772774e8146b2ff6e7d6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga156955220ded772774e8146b2ff6e7d6">XAXICDMA_XR_COALESCE_MASK</a>&#160;&#160;&#160;0x00FF0000</td></tr>
<tr class="memdesc:ga156955220ded772774e8146b2ff6e7d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coalesce counter.  <a href="#ga156955220ded772774e8146b2ff6e7d6">More...</a><br /></td></tr>
<tr class="separator:ga156955220ded772774e8146b2ff6e7d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadd5fcf58a67d3125264a9930e1ee0da0"><td class="memItemLeft" align="right" valign="top"><a id="gadd5fcf58a67d3125264a9930e1ee0da0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XAXICDMA_DELAY_SHIFT</b>&#160;&#160;&#160;24</td></tr>
<tr class="separator:gadd5fcf58a67d3125264a9930e1ee0da0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac6d3dbc7858fabcf9a243ef0cd2f5daa"><td class="memItemLeft" align="right" valign="top"><a id="gac6d3dbc7858fabcf9a243ef0cd2f5daa"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>XAXICDMA_COALESCE_SHIFT</b>&#160;&#160;&#160;16</td></tr>
<tr class="separator:gac6d3dbc7858fabcf9a243ef0cd2f5daa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5c26fb92eb7913f78454aeaae8f91115"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga5c26fb92eb7913f78454aeaae8f91115">XAXICDMA_DELAY_MAX</a>&#160;&#160;&#160;0xFF</td></tr>
<tr class="memdesc:ga5c26fb92eb7913f78454aeaae8f91115"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum delay counter value.  <a href="#ga5c26fb92eb7913f78454aeaae8f91115">More...</a><br /></td></tr>
<tr class="separator:ga5c26fb92eb7913f78454aeaae8f91115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0bb5457c991743bf45e9db3201df17ed"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga0bb5457c991743bf45e9db3201df17ed">XAXICDMA_COALESCE_MAX</a>&#160;&#160;&#160;0xFF</td></tr>
<tr class="memdesc:ga0bb5457c991743bf45e9db3201df17ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum coalescing counter value.  <a href="#ga0bb5457c991743bf45e9db3201df17ed">More...</a><br /></td></tr>
<tr class="separator:ga0bb5457c991743bf45e9db3201df17ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Buffer Descriptor offsets</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp4284acb9eab1123bbaf97dcfe7ce5a75"></a>The first 8 words are used by hardware.</p>
<p>Cache operations are required for words used by hardware to enforce data consistency. All words after the 8th word are for software use only. </p>
</td></tr>
<tr class="memitem:gaac93627274e0a7ff4e45613eddd60d64"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaac93627274e0a7ff4e45613eddd60d64">XAXICDMA_BD_NDESC_OFFSET</a>&#160;&#160;&#160;0x00</td></tr>
<tr class="memdesc:gaac93627274e0a7ff4e45613eddd60d64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Next descriptor pointer.  <a href="#gaac93627274e0a7ff4e45613eddd60d64">More...</a><br /></td></tr>
<tr class="separator:gaac93627274e0a7ff4e45613eddd60d64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73442468eff68f4fac6ca04f7d66b3bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga73442468eff68f4fac6ca04f7d66b3bc">XAXICDMA_BD_NDESC_MSB_OFFSET</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="memdesc:ga73442468eff68f4fac6ca04f7d66b3bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Next descriptor pointer.  <a href="#ga73442468eff68f4fac6ca04f7d66b3bc">More...</a><br /></td></tr>
<tr class="separator:ga73442468eff68f4fac6ca04f7d66b3bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf29c4c37b3f8d6fee34a0f6e014a80d3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaf29c4c37b3f8d6fee34a0f6e014a80d3">XAXICDMA_BD_BUFSRC_OFFSET</a>&#160;&#160;&#160;0x08</td></tr>
<tr class="memdesc:gaf29c4c37b3f8d6fee34a0f6e014a80d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer source address.  <a href="#gaf29c4c37b3f8d6fee34a0f6e014a80d3">More...</a><br /></td></tr>
<tr class="separator:gaf29c4c37b3f8d6fee34a0f6e014a80d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62a39b3ce53b54ba5641b4ad654054a4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga62a39b3ce53b54ba5641b4ad654054a4">XAXICDMA_BD_BUFSRC_MSB_OFFSET</a>&#160;&#160;&#160;0x0C</td></tr>
<tr class="memdesc:ga62a39b3ce53b54ba5641b4ad654054a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer source address.  <a href="#ga62a39b3ce53b54ba5641b4ad654054a4">More...</a><br /></td></tr>
<tr class="separator:ga62a39b3ce53b54ba5641b4ad654054a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacd2dd9425a21034814a89119ff957528"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gacd2dd9425a21034814a89119ff957528">XAXICDMA_BD_BUFDST_OFFSET</a>&#160;&#160;&#160;0x10</td></tr>
<tr class="memdesc:gacd2dd9425a21034814a89119ff957528"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer destination address.  <a href="#gacd2dd9425a21034814a89119ff957528">More...</a><br /></td></tr>
<tr class="separator:gacd2dd9425a21034814a89119ff957528"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3950ca65fb96bad92246c88399f38d89"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga3950ca65fb96bad92246c88399f38d89">XAXICDMA_BD_BUFDST_MSB_OFFSET</a>&#160;&#160;&#160;0x14</td></tr>
<tr class="memdesc:ga3950ca65fb96bad92246c88399f38d89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Buffer destination address.  <a href="#ga3950ca65fb96bad92246c88399f38d89">More...</a><br /></td></tr>
<tr class="separator:ga3950ca65fb96bad92246c88399f38d89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7153a14322b05f4845ac7796f6ab92fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga7153a14322b05f4845ac7796f6ab92fa">XAXICDMA_BD_CTRL_LEN_OFFSET</a>&#160;&#160;&#160;0x18</td></tr>
<tr class="memdesc:ga7153a14322b05f4845ac7796f6ab92fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Control/buffer length.  <a href="#ga7153a14322b05f4845ac7796f6ab92fa">More...</a><br /></td></tr>
<tr class="separator:ga7153a14322b05f4845ac7796f6ab92fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9bc60587fa8dd61bb342dff49b7c8fc8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga9bc60587fa8dd61bb342dff49b7c8fc8">XAXICDMA_BD_STS_OFFSET</a>&#160;&#160;&#160;0x1C</td></tr>
<tr class="memdesc:ga9bc60587fa8dd61bb342dff49b7c8fc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status.  <a href="#ga9bc60587fa8dd61bb342dff49b7c8fc8">More...</a><br /></td></tr>
<tr class="separator:ga9bc60587fa8dd61bb342dff49b7c8fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2dac41e5e3020258ed9ff6f2c5299e85"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga2dac41e5e3020258ed9ff6f2c5299e85">XAXICDMA_BD_PHYS_ADDR_OFFSET</a>&#160;&#160;&#160;0x20</td></tr>
<tr class="memdesc:ga2dac41e5e3020258ed9ff6f2c5299e85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Physical address of the BD.  <a href="#ga2dac41e5e3020258ed9ff6f2c5299e85">More...</a><br /></td></tr>
<tr class="separator:ga2dac41e5e3020258ed9ff6f2c5299e85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac3b26e44089dbe1e471eb9aedc6797fa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gac3b26e44089dbe1e471eb9aedc6797fa">XAXICDMA_BD_PHYS_ADDR_MSB_OFFSET</a>&#160;&#160;&#160;0x24</td></tr>
<tr class="memdesc:gac3b26e44089dbe1e471eb9aedc6797fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Physical address of the BD.  <a href="#gac3b26e44089dbe1e471eb9aedc6797fa">More...</a><br /></td></tr>
<tr class="separator:gac3b26e44089dbe1e471eb9aedc6797fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadb078c2f018d8422e66ebaaf4149712"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaadb078c2f018d8422e66ebaaf4149712">XAXICDMA_BD_ISLITE_OFFSET</a>&#160;&#160;&#160;0x28</td></tr>
<tr class="memdesc:gaadb078c2f018d8422e66ebaaf4149712"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lite mode hardware build?  <a href="#gaadb078c2f018d8422e66ebaaf4149712">More...</a><br /></td></tr>
<tr class="separator:gaadb078c2f018d8422e66ebaaf4149712"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e9efcc5a93543b6a6c75ab211ed8318"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga8e9efcc5a93543b6a6c75ab211ed8318">XAXICDMA_BD_HASDRE_OFFSET</a>&#160;&#160;&#160;0x2C</td></tr>
<tr class="memdesc:ga8e9efcc5a93543b6a6c75ab211ed8318"><td class="mdescLeft">&#160;</td><td class="mdescRight">Support unaligned transfers?  <a href="#ga8e9efcc5a93543b6a6c75ab211ed8318">More...</a><br /></td></tr>
<tr class="separator:ga8e9efcc5a93543b6a6c75ab211ed8318"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac5ef7101904b47a4ec640bedec49e0fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gac5ef7101904b47a4ec640bedec49e0fc">XAXICDMA_BD_WORDLEN_OFFSET</a>&#160;&#160;&#160;0x30</td></tr>
<tr class="memdesc:gac5ef7101904b47a4ec640bedec49e0fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Word length in bytes.  <a href="#gac5ef7101904b47a4ec640bedec49e0fc">More...</a><br /></td></tr>
<tr class="separator:gac5ef7101904b47a4ec640bedec49e0fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d00373734319bbfc1f81b2df043e0c4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga6d00373734319bbfc1f81b2df043e0c4">XAXICDMA_BD_MAX_LEN_OFFSET</a>&#160;&#160;&#160;0x34</td></tr>
<tr class="memdesc:ga6d00373734319bbfc1f81b2df043e0c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Word length in bytes.  <a href="#ga6d00373734319bbfc1f81b2df043e0c4">More...</a><br /></td></tr>
<tr class="separator:ga6d00373734319bbfc1f81b2df043e0c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d0d6c6e655e662017785bd3afb8ff1e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga0d0d6c6e655e662017785bd3afb8ff1e">XAXICDMA_BD_ADDRLEN_OFFSET</a>&#160;&#160;&#160;0x38</td></tr>
<tr class="memdesc:ga0d0d6c6e655e662017785bd3afb8ff1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Word length in bytes.  <a href="#ga0d0d6c6e655e662017785bd3afb8ff1e">More...</a><br /></td></tr>
<tr class="separator:ga0d0d6c6e655e662017785bd3afb8ff1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7a4abf2f49cd4e47db090ef83c1d4224"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga7a4abf2f49cd4e47db090ef83c1d4224">XAXICDMA_BD_START_CLEAR</a>&#160;&#160;&#160;8</td></tr>
<tr class="memdesc:ga7a4abf2f49cd4e47db090ef83c1d4224"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset to start clear.  <a href="#ga7a4abf2f49cd4e47db090ef83c1d4224">More...</a><br /></td></tr>
<tr class="separator:ga7a4abf2f49cd4e47db090ef83c1d4224"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab4e667853d75008ef5a74aca06762980"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gab4e667853d75008ef5a74aca06762980">XAXICDMA_BD_TO_CLEAR</a>&#160;&#160;&#160;24</td></tr>
<tr class="memdesc:gab4e667853d75008ef5a74aca06762980"><td class="mdescLeft">&#160;</td><td class="mdescRight">BD specific bytes to be cleared.  <a href="#gab4e667853d75008ef5a74aca06762980">More...</a><br /></td></tr>
<tr class="separator:gab4e667853d75008ef5a74aca06762980"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga710808485441a384edf28b803363f3dd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga710808485441a384edf28b803363f3dd">XAXICDMA_BD_NUM_WORDS</a>&#160;&#160;&#160;16U</td></tr>
<tr class="memdesc:ga710808485441a384edf28b803363f3dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Total number of words for one BD.  <a href="#ga710808485441a384edf28b803363f3dd">More...</a><br /></td></tr>
<tr class="separator:ga710808485441a384edf28b803363f3dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17eecb43d41d19d66cca58097dec4891"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga17eecb43d41d19d66cca58097dec4891">XAXICDMA_BD_HW_NUM_BYTES</a>&#160;&#160;&#160;32</td></tr>
<tr class="memdesc:ga17eecb43d41d19d66cca58097dec4891"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of bytes hw used.  <a href="#ga17eecb43d41d19d66cca58097dec4891">More...</a><br /></td></tr>
<tr class="separator:ga17eecb43d41d19d66cca58097dec4891"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Bitmasks of XAXICDMA_BD_CTRL_OFFSET register</h2></td></tr>
<tr class="memitem:ga08590ca37cda0c7e7648f8b58bb70d94"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga08590ca37cda0c7e7648f8b58bb70d94">XAXICDMA_BD_CTRL_LENGTH_MASK</a>&#160;&#160;&#160;0x007FFFFF</td></tr>
<tr class="memdesc:ga08590ca37cda0c7e7648f8b58bb70d94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requested len.  <a href="#ga08590ca37cda0c7e7648f8b58bb70d94">More...</a><br /></td></tr>
<tr class="separator:ga08590ca37cda0c7e7648f8b58bb70d94"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Bitmasks of XAXICDMA_BD_STS_OFFSET register</h2></td></tr>
<tr class="memitem:gac206252f0aeb8a2f8c28aaf7c0f8361e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gac206252f0aeb8a2f8c28aaf7c0f8361e">XAXICDMA_BD_STS_COMPLETE_MASK</a>&#160;&#160;&#160;0x80000000</td></tr>
<tr class="memdesc:gac206252f0aeb8a2f8c28aaf7c0f8361e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Completed.  <a href="#gac206252f0aeb8a2f8c28aaf7c0f8361e">More...</a><br /></td></tr>
<tr class="separator:gac206252f0aeb8a2f8c28aaf7c0f8361e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5beb3dd9b31ecb304f698bab67ca81b3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga5beb3dd9b31ecb304f698bab67ca81b3">XAXICDMA_BD_STS_DEC_ERR_MASK</a>&#160;&#160;&#160;0x40000000</td></tr>
<tr class="memdesc:ga5beb3dd9b31ecb304f698bab67ca81b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode error.  <a href="#ga5beb3dd9b31ecb304f698bab67ca81b3">More...</a><br /></td></tr>
<tr class="separator:ga5beb3dd9b31ecb304f698bab67ca81b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23cf4a9370aec62b2000113b6709e92a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga23cf4a9370aec62b2000113b6709e92a">XAXICDMA_BD_STS_SLV_ERR_MASK</a>&#160;&#160;&#160;0x20000000</td></tr>
<tr class="memdesc:ga23cf4a9370aec62b2000113b6709e92a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave error.  <a href="#ga23cf4a9370aec62b2000113b6709e92a">More...</a><br /></td></tr>
<tr class="separator:ga23cf4a9370aec62b2000113b6709e92a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga36516a3195bb957d00ef16b9f2ddf671"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#ga36516a3195bb957d00ef16b9f2ddf671">XAXICDMA_BD_STS_INT_ERR_MASK</a>&#160;&#160;&#160;0x10000000</td></tr>
<tr class="memdesc:ga36516a3195bb957d00ef16b9f2ddf671"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal err.  <a href="#ga36516a3195bb957d00ef16b9f2ddf671">More...</a><br /></td></tr>
<tr class="separator:ga36516a3195bb957d00ef16b9f2ddf671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab72e831b0648742189a2623b040166b7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gab72e831b0648742189a2623b040166b7">XAXICDMA_BD_STS_ALL_ERR_MASK</a>&#160;&#160;&#160;0x70000000</td></tr>
<tr class="memdesc:gab72e831b0648742189a2623b040166b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">All errors.  <a href="#gab72e831b0648742189a2623b040166b7">More...</a><br /></td></tr>
<tr class="separator:gab72e831b0648742189a2623b040166b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaff5819b9b557b391de8b69c7c730b492"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__axicdma__v4__0.html#gaff5819b9b557b391de8b69c7c730b492">XAXICDMA_BD_STS_ALL_MASK</a>&#160;&#160;&#160;0xF0000000</td></tr>
<tr class="memdesc:gaff5819b9b557b391de8b69c7c730b492"><td class="mdescLeft">&#160;</td><td class="mdescRight">All status bits.  <a href="#gaff5819b9b557b391de8b69c7c730b492">More...</a><br /></td></tr>
<tr class="separator:gaff5819b9b557b391de8b69c7c730b492"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga0d0d6c6e655e662017785bd3afb8ff1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0d0d6c6e655e662017785bd3afb8ff1e">&#9670;&nbsp;</a></span>XAXICDMA_BD_ADDRLEN_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_ADDRLEN_OFFSET&#160;&#160;&#160;0x38</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Word length in bytes. </p>

</div>
</div>
<a id="ga3950ca65fb96bad92246c88399f38d89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3950ca65fb96bad92246c88399f38d89">&#9670;&nbsp;</a></span>XAXICDMA_BD_BUFDST_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_BUFDST_MSB_OFFSET&#160;&#160;&#160;0x14</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Buffer destination address. </p>

</div>
</div>
<a id="gacd2dd9425a21034814a89119ff957528"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacd2dd9425a21034814a89119ff957528">&#9670;&nbsp;</a></span>XAXICDMA_BD_BUFDST_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_BUFDST_OFFSET&#160;&#160;&#160;0x10</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Buffer destination address. </p>

</div>
</div>
<a id="ga62a39b3ce53b54ba5641b4ad654054a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga62a39b3ce53b54ba5641b4ad654054a4">&#9670;&nbsp;</a></span>XAXICDMA_BD_BUFSRC_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_BUFSRC_MSB_OFFSET&#160;&#160;&#160;0x0C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Buffer source address. </p>

</div>
</div>
<a id="gaf29c4c37b3f8d6fee34a0f6e014a80d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf29c4c37b3f8d6fee34a0f6e014a80d3">&#9670;&nbsp;</a></span>XAXICDMA_BD_BUFSRC_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_BUFSRC_OFFSET&#160;&#160;&#160;0x08</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Buffer source address. </p>

</div>
</div>
<a id="ga7153a14322b05f4845ac7796f6ab92fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7153a14322b05f4845ac7796f6ab92fa">&#9670;&nbsp;</a></span>XAXICDMA_BD_CTRL_LEN_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_CTRL_LEN_OFFSET&#160;&#160;&#160;0x18</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Control/buffer length. </p>

</div>
</div>
<a id="ga08590ca37cda0c7e7648f8b58bb70d94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga08590ca37cda0c7e7648f8b58bb70d94">&#9670;&nbsp;</a></span>XAXICDMA_BD_CTRL_LENGTH_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_CTRL_LENGTH_MASK&#160;&#160;&#160;0x007FFFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Requested len. </p>

</div>
</div>
<a id="ga8e9efcc5a93543b6a6c75ab211ed8318"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8e9efcc5a93543b6a6c75ab211ed8318">&#9670;&nbsp;</a></span>XAXICDMA_BD_HASDRE_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_HASDRE_OFFSET&#160;&#160;&#160;0x2C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Support unaligned transfers? </p>

</div>
</div>
<a id="ga17eecb43d41d19d66cca58097dec4891"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga17eecb43d41d19d66cca58097dec4891">&#9670;&nbsp;</a></span>XAXICDMA_BD_HW_NUM_BYTES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_HW_NUM_BYTES&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Number of bytes hw used. </p>

</div>
</div>
<a id="gaadb078c2f018d8422e66ebaaf4149712"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaadb078c2f018d8422e66ebaaf4149712">&#9670;&nbsp;</a></span>XAXICDMA_BD_ISLITE_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_ISLITE_OFFSET&#160;&#160;&#160;0x28</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Lite mode hardware build? </p>

</div>
</div>
<a id="ga6d00373734319bbfc1f81b2df043e0c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6d00373734319bbfc1f81b2df043e0c4">&#9670;&nbsp;</a></span>XAXICDMA_BD_MAX_LEN_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_MAX_LEN_OFFSET&#160;&#160;&#160;0x34</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Word length in bytes. </p>

</div>
</div>
<a id="gaae822f32753ddd2fec7be5d3c9e9a4ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaae822f32753ddd2fec7be5d3c9e9a4ff">&#9670;&nbsp;</a></span>XAXICDMA_BD_MINIMUM_ALIGNMENT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_MINIMUM_ALIGNMENT&#160;&#160;&#160;0x40</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Minimum byte alignment requirement for descriptors to satisfy both hardware/software needs. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gab36598e09c09ffa680b6c0f207baf9f5">XAxiCdma_BdRingCreate()</a>, <a class="el" href="group__axicdma__v4__0.html#gabfe3657b7aad9487946d6bb436aeba18">XAxiCdma_BdRingNext()</a>, and <a class="el" href="group__axicdma__v4__0.html#ga24af2a3eacaf56c972e6313683a3f7e0">XAxiCdma_BdRingPrev()</a>.</p>

</div>
</div>
<a id="ga73442468eff68f4fac6ca04f7d66b3bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga73442468eff68f4fac6ca04f7d66b3bc">&#9670;&nbsp;</a></span>XAXICDMA_BD_NDESC_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_NDESC_MSB_OFFSET&#160;&#160;&#160;0x04</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Next descriptor pointer. </p>

</div>
</div>
<a id="gaac93627274e0a7ff4e45613eddd60d64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac93627274e0a7ff4e45613eddd60d64">&#9670;&nbsp;</a></span>XAXICDMA_BD_NDESC_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_NDESC_OFFSET&#160;&#160;&#160;0x00</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Next descriptor pointer. </p>

</div>
</div>
<a id="ga710808485441a384edf28b803363f3dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga710808485441a384edf28b803363f3dd">&#9670;&nbsp;</a></span>XAXICDMA_BD_NUM_WORDS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_NUM_WORDS&#160;&#160;&#160;16U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Total number of words for one BD. </p>

</div>
</div>
<a id="gac3b26e44089dbe1e471eb9aedc6797fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac3b26e44089dbe1e471eb9aedc6797fa">&#9670;&nbsp;</a></span>XAXICDMA_BD_PHYS_ADDR_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_PHYS_ADDR_MSB_OFFSET&#160;&#160;&#160;0x24</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Physical address of the BD. </p>

</div>
</div>
<a id="ga2dac41e5e3020258ed9ff6f2c5299e85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2dac41e5e3020258ed9ff6f2c5299e85">&#9670;&nbsp;</a></span>XAXICDMA_BD_PHYS_ADDR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_PHYS_ADDR_OFFSET&#160;&#160;&#160;0x20</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Physical address of the BD. </p>

</div>
</div>
<a id="ga7a4abf2f49cd4e47db090ef83c1d4224"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7a4abf2f49cd4e47db090ef83c1d4224">&#9670;&nbsp;</a></span>XAXICDMA_BD_START_CLEAR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_START_CLEAR&#160;&#160;&#160;8</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Offset to start clear. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga594480d7591185014d72869ac15fd490">XAxiCdma_BdClear()</a>, and <a class="el" href="group__axicdma__v4__0.html#gaa16c4a61c0b1b2892ee5869e62546884">XAxiCdma_BdClone()</a>.</p>

</div>
</div>
<a id="gab72e831b0648742189a2623b040166b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab72e831b0648742189a2623b040166b7">&#9670;&nbsp;</a></span>XAXICDMA_BD_STS_ALL_ERR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_STS_ALL_ERR_MASK&#160;&#160;&#160;0x70000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>All errors. </p>

</div>
</div>
<a id="gaff5819b9b557b391de8b69c7c730b492"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaff5819b9b557b391de8b69c7c730b492">&#9670;&nbsp;</a></span>XAXICDMA_BD_STS_ALL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_STS_ALL_MASK&#160;&#160;&#160;0xF0000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>All status bits. </p>

</div>
</div>
<a id="gac206252f0aeb8a2f8c28aaf7c0f8361e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac206252f0aeb8a2f8c28aaf7c0f8361e">&#9670;&nbsp;</a></span>XAXICDMA_BD_STS_COMPLETE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_STS_COMPLETE_MASK&#160;&#160;&#160;0x80000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Completed. </p>

</div>
</div>
<a id="ga5beb3dd9b31ecb304f698bab67ca81b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5beb3dd9b31ecb304f698bab67ca81b3">&#9670;&nbsp;</a></span>XAXICDMA_BD_STS_DEC_ERR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_STS_DEC_ERR_MASK&#160;&#160;&#160;0x40000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Decode error. </p>

</div>
</div>
<a id="ga36516a3195bb957d00ef16b9f2ddf671"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga36516a3195bb957d00ef16b9f2ddf671">&#9670;&nbsp;</a></span>XAXICDMA_BD_STS_INT_ERR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_STS_INT_ERR_MASK&#160;&#160;&#160;0x10000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Internal err. </p>

</div>
</div>
<a id="ga9bc60587fa8dd61bb342dff49b7c8fc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9bc60587fa8dd61bb342dff49b7c8fc8">&#9670;&nbsp;</a></span>XAXICDMA_BD_STS_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_STS_OFFSET&#160;&#160;&#160;0x1C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Status. </p>

</div>
</div>
<a id="ga23cf4a9370aec62b2000113b6709e92a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga23cf4a9370aec62b2000113b6709e92a">&#9670;&nbsp;</a></span>XAXICDMA_BD_STS_SLV_ERR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_STS_SLV_ERR_MASK&#160;&#160;&#160;0x20000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Slave error. </p>

</div>
</div>
<a id="gab4e667853d75008ef5a74aca06762980"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab4e667853d75008ef5a74aca06762980">&#9670;&nbsp;</a></span>XAXICDMA_BD_TO_CLEAR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_TO_CLEAR&#160;&#160;&#160;24</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>BD specific bytes to be cleared. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga594480d7591185014d72869ac15fd490">XAxiCdma_BdClear()</a>, and <a class="el" href="group__axicdma__v4__0.html#gaa16c4a61c0b1b2892ee5869e62546884">XAxiCdma_BdClone()</a>.</p>

</div>
</div>
<a id="gac5ef7101904b47a4ec640bedec49e0fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac5ef7101904b47a4ec640bedec49e0fc">&#9670;&nbsp;</a></span>XAXICDMA_BD_WORDLEN_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BD_WORDLEN_OFFSET&#160;&#160;&#160;0x30</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Word length in bytes. </p>

</div>
</div>
<a id="gaf2b93c5bebf2fdcf9516bcfefc7ae356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf2b93c5bebf2fdcf9516bcfefc7ae356">&#9670;&nbsp;</a></span>XAXICDMA_BTT_OFFSET <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BTT_OFFSET&#160;&#160;&#160;0x00000028</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Bytes to transfer. </p>

</div>
</div>
<a id="gaf2b93c5bebf2fdcf9516bcfefc7ae356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf2b93c5bebf2fdcf9516bcfefc7ae356">&#9670;&nbsp;</a></span>XAXICDMA_BTT_OFFSET <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_BTT_OFFSET&#160;&#160;&#160;0x00000028</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Bytes to transfer. </p>

</div>
</div>
<a id="gaac2ba51f1e81b8ed8fe31bc5632d2980"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac2ba51f1e81b8ed8fe31bc5632d2980">&#9670;&nbsp;</a></span>XAXICDMA_CDESC_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CDESC_MSB_OFFSET&#160;&#160;&#160;0x0000000C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Current descriptor pointer. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gae1333cf9309c85b0f620e026c889e01c">XAxiCdma_BdSetCurBdPtr()</a>.</p>

</div>
</div>
<a id="gaf62f028c2ed24dea6e0ebf8388cdf670"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf62f028c2ed24dea6e0ebf8388cdf670">&#9670;&nbsp;</a></span>XAXICDMA_CDESC_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CDESC_OFFSET&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Current descriptor pointer. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gae1333cf9309c85b0f620e026c889e01c">XAxiCdma_BdSetCurBdPtr()</a>.</p>

</div>
</div>
<a id="ga0bb5457c991743bf45e9db3201df17ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0bb5457c991743bf45e9db3201df17ed">&#9670;&nbsp;</a></span>XAXICDMA_COALESCE_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_COALESCE_MAX&#160;&#160;&#160;0xFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Maximum coalescing counter value. </p>

</div>
</div>
<a id="gac31916a2867c9e47834091131d449f88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac31916a2867c9e47834091131d449f88">&#9670;&nbsp;</a></span>XAXICDMA_CR_KHOLE_RD_MASK <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_KHOLE_RD_MASK&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Keyhole Read. </p>

</div>
</div>
<a id="gac31916a2867c9e47834091131d449f88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac31916a2867c9e47834091131d449f88">&#9670;&nbsp;</a></span>XAXICDMA_CR_KHOLE_RD_MASK <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_KHOLE_RD_MASK&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Keyhole Read. </p>

</div>
</div>
<a id="ga5ddbb13c86e6c75d5dd928447e3ec8bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5ddbb13c86e6c75d5dd928447e3ec8bb">&#9670;&nbsp;</a></span>XAXICDMA_CR_KHOLE_WR_MASK <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_KHOLE_WR_MASK&#160;&#160;&#160;0x00000020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Keyhole Write. </p>

</div>
</div>
<a id="ga5ddbb13c86e6c75d5dd928447e3ec8bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5ddbb13c86e6c75d5dd928447e3ec8bb">&#9670;&nbsp;</a></span>XAXICDMA_CR_KHOLE_WR_MASK <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_KHOLE_WR_MASK&#160;&#160;&#160;0x00000020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Keyhole Write. </p>

</div>
</div>
<a id="ga1f23c9a4fe3565eb423286405a1de5ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1f23c9a4fe3565eb423286405a1de5ca">&#9670;&nbsp;</a></span>XAXICDMA_CR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_OFFSET&#160;&#160;&#160;0x00000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Control register. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga92087f03877293982f895e8178557f6a">XAxiCdma_GetCoalesce()</a>, <a class="el" href="group__axicdma__v4__0.html#gabdccf08d74f4e037b06a36a2e9db2877">XAxiCdma_IntrDisable()</a>, <a class="el" href="group__axicdma__v4__0.html#ga9f146fe224ea4c9a86477de3030dd79a">XAxiCdma_IntrEnable()</a>, <a class="el" href="group__axicdma__v4__0.html#ga1a269e884ce6e3552313521dea8032b6">XAxiCdma_IntrGetEnabled()</a>, <a class="el" href="group__axicdma__v4__0.html#gaaf97cc8317af0bf1678973925beff0c5">XAxiCdma_Reset()</a>, <a class="el" href="group__axicdma__v4__0.html#ga2575375744593bd55425365dde7744e5">XAxiCdma_ResetIsDone()</a>, <a class="el" href="group__axicdma__v4__0.html#ga815f36efce97dba797f67f9acbbb761d">XAxiCdma_SelectKeyHole()</a>, and <a class="el" href="group__axicdma__v4__0.html#ga91adf55050cb617cee00b0ba2f0d754e">XAxiCdma_SetCoalesce()</a>.</p>

</div>
</div>
<a id="ga0f6d1104468e9f155a3b9477a84531a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f6d1104468e9f155a3b9477a84531a6">&#9670;&nbsp;</a></span>XAXICDMA_CR_RESET_MASK <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_RESET_MASK&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Reset DMA engine. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gaaf97cc8317af0bf1678973925beff0c5">XAxiCdma_Reset()</a>, and <a class="el" href="group__axicdma__v4__0.html#ga2575375744593bd55425365dde7744e5">XAxiCdma_ResetIsDone()</a>.</p>

</div>
</div>
<a id="ga0f6d1104468e9f155a3b9477a84531a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f6d1104468e9f155a3b9477a84531a6">&#9670;&nbsp;</a></span>XAXICDMA_CR_RESET_MASK <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_RESET_MASK&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Reset DMA engine. </p>

</div>
</div>
<a id="gae0e7fa6cee94c02784164c315268c6a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0e7fa6cee94c02784164c315268c6a6">&#9670;&nbsp;</a></span>XAXICDMA_CR_SGMODE_MASK <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_SGMODE_MASK&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Scatter gather mode. </p>

</div>
</div>
<a id="gae0e7fa6cee94c02784164c315268c6a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0e7fa6cee94c02784164c315268c6a6">&#9670;&nbsp;</a></span>XAXICDMA_CR_SGMODE_MASK <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_CR_SGMODE_MASK&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Scatter gather mode. </p>

</div>
</div>
<a id="ga5c26fb92eb7913f78454aeaae8f91115"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5c26fb92eb7913f78454aeaae8f91115">&#9670;&nbsp;</a></span>XAXICDMA_DELAY_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_DELAY_MAX&#160;&#160;&#160;0xFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Maximum delay counter value. </p>

</div>
</div>
<a id="gaca543a8c03c6cd2d6d7284cc4bd119c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaca543a8c03c6cd2d6d7284cc4bd119c2">&#9670;&nbsp;</a></span>XAXICDMA_DESC_LSB_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_DESC_LSB_MASK&#160;&#160;&#160;(0xFFFFFFC0U)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>LSB Address mask. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gae1333cf9309c85b0f620e026c889e01c">XAxiCdma_BdSetCurBdPtr()</a>, and <a class="el" href="group__axicdma__v4__0.html#ga1141024e912e7012d2c716cef9fc791f">XAxiCdma_BdSetTailBdPtr()</a>.</p>

</div>
</div>
<a id="ga9a61d8801792647638b54afcafbd8a86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9a61d8801792647638b54afcafbd8a86">&#9670;&nbsp;</a></span>XAXICDMA_DSTADDR_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_DSTADDR_MSB_OFFSET&#160;&#160;&#160;0x00000024</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Destination address register. </p>

</div>
</div>
<a id="ga3064fdc2bc683fa002bedf51498d810c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3064fdc2bc683fa002bedf51498d810c">&#9670;&nbsp;</a></span>XAXICDMA_DSTADDR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_DSTADDR_OFFSET&#160;&#160;&#160;0x00000020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Destination address register. </p>

</div>
</div>
<a id="gac84f0c20f910716d8f3e48ff23294440"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac84f0c20f910716d8f3e48ff23294440">&#9670;&nbsp;</a></span>XAXICDMA_MAX_TRANSFER_LEN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_MAX_TRANSFER_LEN&#160;&#160;&#160;0x7FFFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Max length hw supports. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gab746b095007351c2fb2c1a7cf3693f2c">XAxiCdma_CfgInitialize()</a>.</p>

</div>
</div>
<a id="ga2f2bfb34c5bfec00baa06b782e7e68a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2f2bfb34c5bfec00baa06b782e7e68a6">&#9670;&nbsp;</a></span>XAxiCdma_ReadReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAxiCdma_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;XAxiCdma_In32((BaseAddress) + (u32)(RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Read a given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base virtual address of the device </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be read</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6" title="Read a given register. ">XAxiCdma_ReadReg(u32 BaseAddress, u32 RegOffset)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gab746b095007351c2fb2c1a7cf3693f2c">XAxiCdma_CfgInitialize()</a>, <a class="el" href="group__axicdma__v4__0.html#ga92087f03877293982f895e8178557f6a">XAxiCdma_GetCoalesce()</a>, <a class="el" href="group__axicdma__v4__0.html#gae1fbdb8f7ad8926f744c771e07814f72">XAxiCdma_GetError()</a>, <a class="el" href="group__axicdma__v4__0.html#gabdccf08d74f4e037b06a36a2e9db2877">XAxiCdma_IntrDisable()</a>, <a class="el" href="group__axicdma__v4__0.html#ga9f146fe224ea4c9a86477de3030dd79a">XAxiCdma_IntrEnable()</a>, <a class="el" href="group__axicdma__v4__0.html#ga1a269e884ce6e3552313521dea8032b6">XAxiCdma_IntrGetEnabled()</a>, <a class="el" href="group__axicdma__v4__0.html#gaee6e140ed15cd9b7e49145e01220115a">XAxiCdma_IsBusy()</a>, <a class="el" href="group__axicdma__v4__0.html#ga2575375744593bd55425365dde7744e5">XAxiCdma_ResetIsDone()</a>, <a class="el" href="group__axicdma__v4__0.html#ga815f36efce97dba797f67f9acbbb761d">XAxiCdma_SelectKeyHole()</a>, and <a class="el" href="group__axicdma__v4__0.html#ga91adf55050cb617cee00b0ba2f0d754e">XAxiCdma_SetCoalesce()</a>.</p>

</div>
</div>
<a id="gabec2417b4096d65fa8f07a84eef38cea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabec2417b4096d65fa8f07a84eef38cea">&#9670;&nbsp;</a></span>XAXICDMA_SR_ERR_ALL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_ERR_ALL_MASK&#160;&#160;&#160;0x00000770</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>All errors. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gae1fbdb8f7ad8926f744c771e07814f72">XAxiCdma_GetError()</a>.</p>

</div>
</div>
<a id="ga9bdb5e1000af0d05ba0b9481e71b5d2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9bdb5e1000af0d05ba0b9481e71b5d2d">&#9670;&nbsp;</a></span>XAXICDMA_SR_ERR_DECODE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_ERR_DECODE_MASK&#160;&#160;&#160;0x00000040</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Datamover decode err. </p>

</div>
</div>
<a id="ga9c4d04c2dc3d2601d5e63067a7e5e751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9c4d04c2dc3d2601d5e63067a7e5e751">&#9670;&nbsp;</a></span>XAXICDMA_SR_ERR_INTERNAL_MASK <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_ERR_INTERNAL_MASK&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Datamover internal err. </p>

</div>
</div>
<a id="ga9c4d04c2dc3d2601d5e63067a7e5e751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9c4d04c2dc3d2601d5e63067a7e5e751">&#9670;&nbsp;</a></span>XAXICDMA_SR_ERR_INTERNAL_MASK <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_ERR_INTERNAL_MASK&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Datamover internal err. </p>

</div>
</div>
<a id="gaab7404d4487c554b8d6c8c984732c46e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab7404d4487c554b8d6c8c984732c46e">&#9670;&nbsp;</a></span>XAXICDMA_SR_ERR_SG_DEC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_ERR_SG_DEC_MASK&#160;&#160;&#160;0x00000400</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>SG decode err. </p>

</div>
</div>
<a id="ga67ecbbc57656c5e82c86541961cef427"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga67ecbbc57656c5e82c86541961cef427">&#9670;&nbsp;</a></span>XAXICDMA_SR_ERR_SG_INT_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_ERR_SG_INT_MASK&#160;&#160;&#160;0x00000100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>SG internal err. </p>

</div>
</div>
<a id="gad47677d061063e96f50b5d28af989879"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad47677d061063e96f50b5d28af989879">&#9670;&nbsp;</a></span>XAXICDMA_SR_ERR_SG_SLV_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_ERR_SG_SLV_MASK&#160;&#160;&#160;0x00000200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>SG slave err. </p>

</div>
</div>
<a id="ga95a6cfba374a96cfc1f899bda9cdc9bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga95a6cfba374a96cfc1f899bda9cdc9bc">&#9670;&nbsp;</a></span>XAXICDMA_SR_ERR_SLAVE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_ERR_SLAVE_MASK&#160;&#160;&#160;0x00000020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Datamover slave err. </p>

</div>
</div>
<a id="ga73bb174cc046fe8f5d51da6f2d11cfaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga73bb174cc046fe8f5d51da6f2d11cfaa">&#9670;&nbsp;</a></span>XAXICDMA_SR_IDLE_MASK <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_IDLE_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>DMA channel idle. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gaee6e140ed15cd9b7e49145e01220115a">XAxiCdma_IsBusy()</a>.</p>

</div>
</div>
<a id="ga73bb174cc046fe8f5d51da6f2d11cfaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga73bb174cc046fe8f5d51da6f2d11cfaa">&#9670;&nbsp;</a></span>XAXICDMA_SR_IDLE_MASK <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_IDLE_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>DMA channel idle. </p>

</div>
</div>
<a id="gaa5e9b49d3805237bc9ed772948fbf4ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa5e9b49d3805237bc9ed772948fbf4ae">&#9670;&nbsp;</a></span>XAXICDMA_SR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_OFFSET&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Status register. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gab746b095007351c2fb2c1a7cf3693f2c">XAxiCdma_CfgInitialize()</a>, <a class="el" href="group__axicdma__v4__0.html#gae1fbdb8f7ad8926f744c771e07814f72">XAxiCdma_GetError()</a>, and <a class="el" href="group__axicdma__v4__0.html#gaee6e140ed15cd9b7e49145e01220115a">XAxiCdma_IsBusy()</a>.</p>

</div>
</div>
<a id="gada1a00e54aeb12049cd23a005eb47c52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada1a00e54aeb12049cd23a005eb47c52">&#9670;&nbsp;</a></span>XAXICDMA_SR_SGINCLD_MASK <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_SGINCLD_MASK&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Hybrid build. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gab746b095007351c2fb2c1a7cf3693f2c">XAxiCdma_CfgInitialize()</a>.</p>

</div>
</div>
<a id="gada1a00e54aeb12049cd23a005eb47c52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gada1a00e54aeb12049cd23a005eb47c52">&#9670;&nbsp;</a></span>XAXICDMA_SR_SGINCLD_MASK <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SR_SGINCLD_MASK&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Hybrid build. </p>

</div>
</div>
<a id="gaeca7eef88c0b04de01219565d5039d93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeca7eef88c0b04de01219565d5039d93">&#9670;&nbsp;</a></span>XAXICDMA_SRCADDR_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SRCADDR_MSB_OFFSET&#160;&#160;&#160;0x0000001C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Source address register. </p>

</div>
</div>
<a id="ga53c4bf8e65e8770c6fe129160ad07e29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga53c4bf8e65e8770c6fe129160ad07e29">&#9670;&nbsp;</a></span>XAXICDMA_SRCADDR_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_SRCADDR_OFFSET&#160;&#160;&#160;0x00000018</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Source address register. </p>

</div>
</div>
<a id="gaed7af011eefd18c937d40571593b9297"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaed7af011eefd18c937d40571593b9297">&#9670;&nbsp;</a></span>XAXICDMA_TDESC_MSB_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_TDESC_MSB_OFFSET&#160;&#160;&#160;0x00000014</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Tail descriptor pointer. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga1141024e912e7012d2c716cef9fc791f">XAxiCdma_BdSetTailBdPtr()</a>.</p>

</div>
</div>
<a id="ga5a00af58a865daf4ee6995ade0c9cdd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5a00af58a865daf4ee6995ade0c9cdd1">&#9670;&nbsp;</a></span>XAXICDMA_TDESC_OFFSET</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_TDESC_OFFSET&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Tail descriptor pointer. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga1141024e912e7012d2c716cef9fc791f">XAxiCdma_BdSetTailBdPtr()</a>.</p>

</div>
</div>
<a id="ga4d7304606411f8ed955c6d930e387c18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d7304606411f8ed955c6d930e387c18">&#9670;&nbsp;</a></span>XAxiCdma_WriteReg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAxiCdma_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;XAxiCdma_Out32((BaseAddress) + (u32)(RegOffset), (u32)(Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Write to a given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base virtual address of the device </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be written </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write to the register</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__axicdma__v4__0.html#ga4d7304606411f8ed955c6d930e387c18" title="Write to a given register. ">XAxiCdma_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)</a> </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gae1333cf9309c85b0f620e026c889e01c">XAxiCdma_BdSetCurBdPtr()</a>, <a class="el" href="group__axicdma__v4__0.html#ga1141024e912e7012d2c716cef9fc791f">XAxiCdma_BdSetTailBdPtr()</a>, <a class="el" href="group__axicdma__v4__0.html#gabdccf08d74f4e037b06a36a2e9db2877">XAxiCdma_IntrDisable()</a>, <a class="el" href="group__axicdma__v4__0.html#ga9f146fe224ea4c9a86477de3030dd79a">XAxiCdma_IntrEnable()</a>, and <a class="el" href="group__axicdma__v4__0.html#gaaf97cc8317af0bf1678973925beff0c5">XAxiCdma_Reset()</a>.</p>

</div>
</div>
<a id="ga156955220ded772774e8146b2ff6e7d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga156955220ded772774e8146b2ff6e7d6">&#9670;&nbsp;</a></span>XAXICDMA_XR_COALESCE_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_XR_COALESCE_MASK&#160;&#160;&#160;0x00FF0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Coalesce counter. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga92087f03877293982f895e8178557f6a">XAxiCdma_GetCoalesce()</a>.</p>

</div>
</div>
<a id="ga20aec8c77e90ca555dc44341c40af592"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga20aec8c77e90ca555dc44341c40af592">&#9670;&nbsp;</a></span>XAXICDMA_XR_DELAY_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_XR_DELAY_MASK&#160;&#160;&#160;0xFF000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Delay timeout counter. </p>

</div>
</div>
<a id="gad2b921e876e581f84be0e7c152d13221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad2b921e876e581f84be0e7c152d13221">&#9670;&nbsp;</a></span>XAXICDMA_XR_IRQ_ALL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_XR_IRQ_ALL_MASK&#160;&#160;&#160;0x00007000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>All interrupts. </p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#gabdccf08d74f4e037b06a36a2e9db2877">XAxiCdma_IntrDisable()</a>, <a class="el" href="group__axicdma__v4__0.html#ga9f146fe224ea4c9a86477de3030dd79a">XAxiCdma_IntrEnable()</a>, and <a class="el" href="group__axicdma__v4__0.html#ga1a269e884ce6e3552313521dea8032b6">XAxiCdma_IntrGetEnabled()</a>.</p>

</div>
</div>
<a id="ga615ffaf234787866d781bf67b214dda3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga615ffaf234787866d781bf67b214dda3">&#9670;&nbsp;</a></span>XAXICDMA_XR_IRQ_DELAY_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_XR_IRQ_DELAY_MASK&#160;&#160;&#160;0x00002000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Delay interrupt. </p>

</div>
</div>
<a id="gaa4987449eeea265c2cbe875a7eed3ee8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa4987449eeea265c2cbe875a7eed3ee8">&#9670;&nbsp;</a></span>XAXICDMA_XR_IRQ_ERROR_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_XR_IRQ_ERROR_MASK&#160;&#160;&#160;0x00004000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Error interrupt. </p>

</div>
</div>
<a id="ga7f2c9f2df6f106e9576ec6d0d0448e0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7f2c9f2df6f106e9576ec6d0d0448e0b">&#9670;&nbsp;</a></span>XAXICDMA_XR_IRQ_IOC_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_XR_IRQ_IOC_MASK&#160;&#160;&#160;0x00001000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>Completion interrupt. </p>

</div>
</div>
<a id="ga14246912a21d68d0dde910704b6d0ac6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga14246912a21d68d0dde910704b6d0ac6">&#9670;&nbsp;</a></span>XAXICDMA_XR_IRQ_SIMPLE_ALL_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XAXICDMA_XR_IRQ_SIMPLE_ALL_MASK&#160;&#160;&#160;0x00005000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__hw_8h.html">xaxicdma_hw.h</a>&gt;</code></p>

<p>All interrupts for simple only mode. </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga33f9ce1ca035334d63cd08d4cf26daea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga33f9ce1ca035334d63cd08d4cf26daea">&#9670;&nbsp;</a></span>XAxiCdma_Bd</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef UINTPTR XAxiCdma_Bd[<a class="el" href="group__axicdma__v4__0.html#ga710808485441a384edf28b803363f3dd">XAXICDMA_BD_NUM_WORDS</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8h.html">xaxicdma_bd.h</a>&gt;</code></p>

<p>XAxiCdma_Bd. </p>
<p>Buffer descriptor, shared by hardware and software The structure of the BD is as the following, however, the user never directly accesses the fields in the BD. The following shows the fields inside a BD:</p>
<p>u32 NextBdPtr; u32 NextBdPtrMsb; u32 SrcAddr; u32 SrcAddrMsb; u32 DstAddr; u32 DstAddrMsb; int Length; u32 Status; u32 PhysAddr; u32 IsLite; u32 HasDRE; u32 WordLen; u32 Addrlen; </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga594480d7591185014d72869ac15fd490"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga594480d7591185014d72869ac15fd490">&#9670;&nbsp;</a></span>XAxiCdma_BdClear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdClear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function clears the content of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to be cleared</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga7a4abf2f49cd4e47db090ef83c1d4224">XAXICDMA_BD_START_CLEAR</a>, and <a class="el" href="group__axicdma__v4__0.html#gab4e667853d75008ef5a74aca06762980">XAXICDMA_BD_TO_CLEAR</a>.</p>

</div>
</div>
<a id="ga5ee87642c7b803ad1543c5f839872594"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5ee87642c7b803ad1543c5f839872594">&#9670;&nbsp;</a></span>XAxiCdma_BdClearSts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdClearSts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function clears the status bits of the BD. </p>
<p>The status bits include the completion bit as well as the error bits.</p>
<p>This is the only function that needs to be called to clear a completed BD. All other fields (except reserved words) need to be re-assigned before re-submission.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to clear the status</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga3183f9f25654d2a066c19213f29897be">XAxiCdma_BdRingClone()</a>.</p>

</div>
</div>
<a id="gaa16c4a61c0b1b2892ee5869e62546884"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa16c4a61c0b1b2892ee5869e62546884">&#9670;&nbsp;</a></span>XAxiCdma_BdClone()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdClone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>TmpBd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function clones the content from the template BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to be cloned to </td></tr>
    <tr><td class="paramname">TmpBd</td><td>is the pointer to the BD to be cloned from</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga7a4abf2f49cd4e47db090ef83c1d4224">XAXICDMA_BD_START_CLEAR</a>, and <a class="el" href="group__axicdma__v4__0.html#gab4e667853d75008ef5a74aca06762980">XAXICDMA_BD_TO_CLEAR</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga3183f9f25654d2a066c19213f29897be">XAxiCdma_BdRingClone()</a>.</p>

</div>
</div>
<a id="gae95f4fe35bf907a14c7ec44dcc2f0033"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae95f4fe35bf907a14c7ec44dcc2f0033">&#9670;&nbsp;</a></span>XAxiCdma_BdGetDstBufAddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdGetDstBufAddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function gets the destination address of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to get the destination address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The destination address of the buffer that this BD describes</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga2d0201500b1c123a0eb67c02f9666598"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2d0201500b1c123a0eb67c02f9666598">&#9670;&nbsp;</a></span>XAxiCdma_BdGetLength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdGetLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function gets the length of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to get the length</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The length of the buffer that this BD describes</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga2091d8d3a0a4743a557307b1153b4791"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2091d8d3a0a4743a557307b1153b4791">&#9670;&nbsp;</a></span>XAxiCdma_BdGetNextPtr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdGetNextPtr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function gets the next BD pointer of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to get the next BD ptr</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The next BD ptr of the BD.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga535e9b3301b3227aed27e42961304165"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga535e9b3301b3227aed27e42961304165">&#9670;&nbsp;</a></span>XAxiCdma_BdGetPhysAddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdGetPhysAddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function gets the Physical address of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to get the physical address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The physical address of the BD</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="gae42ce84dde541ca08b7995ded0e164cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae42ce84dde541ca08b7995ded0e164cb">&#9670;&nbsp;</a></span>XAxiCdma_BdGetSrcBufAddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdGetSrcBufAddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function gets the source address of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to get the source address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The source address of the buffer that this BD describes</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga25c6311cbd4ac7c3a1dec2e2a59c0bf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga25c6311cbd4ac7c3a1dec2e2a59c0bf7">&#9670;&nbsp;</a></span>XAxiCdma_BdGetSts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdGetSts </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function gets the completion status of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to get the status</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The status bits of the BD.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga27dd0cdc27b7a724533db75336c4acc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga27dd0cdc27b7a724533db75336c4acc6">&#9670;&nbsp;</a></span>XAxiCdma_BdRingAlloc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdRingAlloc </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>NumBd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> **&#160;</td>
          <td class="paramname"><em>BdSetPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function requests number of BDs from the BD ring. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">NumBd</td><td>is the number of BDs to request </td></tr>
    <tr><td class="paramname">BdSetPtr</td><td>is the pointer to the set of BDs returned</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_INVALID_PARAM if requests non-positive number of BDs</li>
<li>XST_FAILURE if not enough free BDs available</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga3183f9f25654d2a066c19213f29897be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3183f9f25654d2a066c19213f29897be">&#9670;&nbsp;</a></span>XAxiCdma_BdRingClone()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdRingClone </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>TemplateBdPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function clones all BDs in the BD ring to be the same as the given BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">TemplateBdPtr</td><td>is the BD to be copied from</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_DMA_SG_NO_LIST if there is no BD ring</li>
<li>XST_DEVICE_IS_STARTED if the hardware is running</li>
<li>XST_DMA_SG_LIST_ERROR is the BD ring is still in use</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga5ee87642c7b803ad1543c5f839872594">XAxiCdma_BdClearSts()</a>, <a class="el" href="group__axicdma__v4__0.html#gaa16c4a61c0b1b2892ee5869e62546884">XAxiCdma_BdClone()</a>, and <a class="el" href="group__axicdma__v4__0.html#gaee6e140ed15cd9b7e49145e01220115a">XAxiCdma_IsBusy()</a>.</p>

</div>
</div>
<a id="ga18d5a9deaab709c610d32e42c77df952"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga18d5a9deaab709c610d32e42c77df952">&#9670;&nbsp;</a></span>XAxiCdma_BdRingCntCalc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdRingCntCalc </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Alignment</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Bytes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>BdBuffAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function calculates how many BDs can be built using given number of bytes of memory, according to alignment provided. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Alignment</td><td>is the preferred alignment for the BDs </td></tr>
    <tr><td class="paramname">Bytes</td><td>is the number of bytes of memory to build BDs with </td></tr>
    <tr><td class="paramname">BdBuffAddr</td><td>is the buffer address allocated for the BDs. This is to check the alignment of the buffer to make sure the the buffer is aligned to the BD alignment. An invalid buffer address results in 0.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of BDs can be built. 0 means buffer address is not valid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The application is responsible to align the buffer before pass it to this function. </dd></dl>

</div>
</div>
<a id="gab36598e09c09ffa680b6c0f207baf9f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab36598e09c09ffa680b6c0f207baf9f5">&#9670;&nbsp;</a></span>XAxiCdma_BdRingCreate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdRingCreate </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>PhysAddr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>VirtAddr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Alignment</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>BdCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function creates the BD ring for the driver instance. </p>
<p>If a BD ring pre-exist of this ring, the previous ring is lost.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">PhysAddr</td><td>is the physical address of the memory for the BD ring </td></tr>
    <tr><td class="paramname">VirtAddr</td><td>is the virtual address of the memory for the BD ring </td></tr>
    <tr><td class="paramname">Alignment</td><td>is the alignment for the BDs </td></tr>
    <tr><td class="paramname">BdCount</td><td>is the number of BDs to create in the ring</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_INVALID_PARAM for invalid parameter</li>
<li>XST_DMA_SG_LIST_ERROR for invalid memory region</li>
<li>XST_FAILURE if the hardware build is simple mode only</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>For a system that has flat memory layout, then the PhysAddr and the VirtAddr are the same. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#gaae822f32753ddd2fec7be5d3c9e9a4ff">XAXICDMA_BD_MINIMUM_ALIGNMENT</a>.</p>

</div>
</div>
<a id="gab204e3f92e4edd3865ecf6b344f0b864"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab204e3f92e4edd3865ecf6b344f0b864">&#9670;&nbsp;</a></span>XAxiCdma_BdRingFree()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdRingFree </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>NumBd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdSetPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function returns the BDs back to the free pool of the BD ring. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">NumBd</td><td>is the number of BDs to free </td></tr>
    <tr><td class="paramname">BdSetPtr</td><td>is the set of BDs to be freed</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_INVALID_PARAM if number of BDs is negative</li>
<li>XST_DMA_SG_LIST_ERROR if the BD ring management has a problem</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="gafce6a8283bdec8b9c35169c7cd29f4dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafce6a8283bdec8b9c35169c7cd29f4dc">&#9670;&nbsp;</a></span>XAxiCdma_BdRingFromHw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdRingFromHw </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>BdLimit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> **&#160;</td>
          <td class="paramname"><em>BdSetPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function tries to retrieve completed BDs from the hardware. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">BdLimit</td><td>is the maximum number of completed BDs to retrieve </td></tr>
    <tr><td class="paramname">BdSetPtr</td><td>is the set of completed BDs</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of completed BDs.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga6dda9c5b4ded0bdbf1e85d6532461ef6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6dda9c5b4ded0bdbf1e85d6532461ef6">&#9670;&nbsp;</a></span>XAxiCdma_BdRingGetCnt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdRingGetCnt </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function gets the total number of BDs in the BD ring. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The total number of BDs for this instance</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="gab6f6efa84ee457f155a4c7a94e4227da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab6f6efa84ee457f155a4c7a94e4227da">&#9670;&nbsp;</a></span>XAxiCdma_BdRingGetCurrBd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> * XAxiCdma_BdRingGetCurrBd </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function grabs a copy of the current BD pointer from the hardware. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The BD pointer in CDESC register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga4677cddba8354ca3979f9b6ae386ffde">XAxiCdma_BdRingSnapShotCurrBd()</a>.</p>

</div>
</div>
<a id="ga07f505ed309a6eb2172e7e8e154fa082"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga07f505ed309a6eb2172e7e8e154fa082">&#9670;&nbsp;</a></span>XAxiCdma_BdRingGetFreeCnt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdRingGetFreeCnt </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function gets the number of free BDs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The total number of free BDs for this instance</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga1525cddb18badb5737c1017f2a0d34e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1525cddb18badb5737c1017f2a0d34e1">&#9670;&nbsp;</a></span>XAxiCdma_BdRingMemCalc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdRingMemCalc </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Alignment</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>NumBd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function calculates how much memory is needed to build requested number of BDs. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Alignment</td><td>is the preferred alignment for the BDs </td></tr>
    <tr><td class="paramname">NumBd</td><td>is the number of BDs to be built</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of bytes of memory needed to build the BDs</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="gabfe3657b7aad9487946d6bb436aeba18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabfe3657b7aad9487946d6bb436aeba18">&#9670;&nbsp;</a></span>XAxiCdma_BdRingNext()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> * XAxiCdma_BdRingNext </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function gets the next BD of the current BD on the BD ring. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">BdPtr</td><td>is the current BD</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The next BD on the ring from the current BD, NULL if passed in BdPtr not valid.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#gaae822f32753ddd2fec7be5d3c9e9a4ff">XAXICDMA_BD_MINIMUM_ALIGNMENT</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga4677cddba8354ca3979f9b6ae386ffde">XAxiCdma_BdRingSnapShotCurrBd()</a>.</p>

</div>
</div>
<a id="ga24af2a3eacaf56c972e6313683a3f7e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga24af2a3eacaf56c972e6313683a3f7e0">&#9670;&nbsp;</a></span>XAxiCdma_BdRingPrev()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> * XAxiCdma_BdRingPrev </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function gets the previous BD of the current BD on the BD ring. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">BdPtr</td><td>is the current BD</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The previous BD on the ring from the current BD</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#gaae822f32753ddd2fec7be5d3c9e9a4ff">XAXICDMA_BD_MINIMUM_ALIGNMENT</a>.</p>

</div>
</div>
<a id="ga4677cddba8354ca3979f9b6ae386ffde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4677cddba8354ca3979f9b6ae386ffde">&#9670;&nbsp;</a></span>XAxiCdma_BdRingSnapShotCurrBd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdRingSnapShotCurrBd </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function grabs a copy of the current BD pointer from the hardware. </p>
<p>It is normally used to prepare for the hardware reset. The snapshot of the current BD pointer should be reloaded once the reset is done.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#gab6f6efa84ee457f155a4c7a94e4227da">XAxiCdma_BdRingGetCurrBd()</a>, and <a class="el" href="group__axicdma__v4__0.html#gabfe3657b7aad9487946d6bb436aeba18">XAxiCdma_BdRingNext()</a>.</p>

</div>
</div>
<a id="ga3c5cd26d9fd3311c2ccfa4253c587e68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3c5cd26d9fd3311c2ccfa4253c587e68">&#9670;&nbsp;</a></span>XAxiCdma_BdRingToHw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdRingToHw </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>NumBd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdSetPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XAxiCdma_CallBackFn&#160;</td>
          <td class="paramname"><em>CallBackFn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function tries to enqueue the number of BDs to the hardware. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">NumBd</td><td>is the number of BDs to enqueue </td></tr>
    <tr><td class="paramname">BdSetPtr</td><td>is the set of BDs to be enqueued </td></tr>
    <tr><td class="paramname">CallBackFn</td><td>is the callback function for this transfer, NULL is fine </td></tr>
    <tr><td class="paramname">CallBackRef</td><td>is the callback reference pointer</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_INVALID_PARAM if enqueues negative number of BDs or zero transfer len</li>
<li>XST_DMA_SG_LIST_ERROR if BD ring management has a problem</li>
<li>XST_FIFO_NO_ROOM if the interrupt handler array is full</li>
<li>XST_FAILURE for: Hardware is in invalid state, for example, reset failed Or, the hardware build is simple mode only</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga9be6e4072c2a17f4519ffa9f9ec3332f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9be6e4072c2a17f4519ffa9f9ec3332f">&#9670;&nbsp;</a></span>XAxiCdma_BdRingUnAlloc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG XAxiCdma_BdRingUnAlloc </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>NumBd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdSetPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function tries to free the number of BDs back to the ring. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">NumBd</td><td>is the number of BDs to return </td></tr>
    <tr><td class="paramname">BdSetPtr</td><td>is the set of BDs to be returned</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_INVALID_PARAM if to free non-positive number of BDs</li>
<li>XST_FAILURE if BD ring management shows an error</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="gae1333cf9309c85b0f620e026c889e01c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae1333cf9309c85b0f620e026c889e01c">&#9670;&nbsp;</a></span>XAxiCdma_BdSetCurBdPtr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdSetCurBdPtr </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>CurBdPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function set the Current BD ptr of a BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to set the Next BD ptr </td></tr>
    <tr><td class="paramname">CurBdPtr</td><td>is the valud of Current BD ptr</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#gaac2ba51f1e81b8ed8fe31bc5632d2980">XAXICDMA_CDESC_MSB_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#gaf62f028c2ed24dea6e0ebf8388cdf670">XAXICDMA_CDESC_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#gaca543a8c03c6cd2d6d7284cc4bd119c2">XAXICDMA_DESC_LSB_MASK</a>, and <a class="el" href="group__axicdma__v4__0.html#ga4d7304606411f8ed955c6d930e387c18">XAxiCdma_WriteReg</a>.</p>

</div>
</div>
<a id="ga2b4866bb4184857c6de973d76f7e7e71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2b4866bb4184857c6de973d76f7e7e71">&#9670;&nbsp;</a></span>XAxiCdma_BdSetDstBufAddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdSetDstBufAddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>Addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function sets the destination address of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to set the destination address </td></tr>
    <tr><td class="paramname">Addr</td><td>is the destination address of the buffer</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if buffer address set successfully</li>
<li>XST_INVALID_PARAM if buffer address is not aligned and hardware build has no DRE or in lite mode</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga270070a493422c1d6f64842febb012d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga270070a493422c1d6f64842febb012d8">&#9670;&nbsp;</a></span>XAxiCdma_BdSetHasDRE()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdSetHasDRE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>HasDRE</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function sets the has DRE field of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to work on </td></tr>
    <tr><td class="paramname">HasDRE</td><td>is the value for whether hardware has DRE built in</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga1025e9931f9d6fc4b7a0d526169eeab0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1025e9931f9d6fc4b7a0d526169eeab0">&#9670;&nbsp;</a></span>XAxiCdma_BdSetIsLite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdSetIsLite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>IsLite</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function sets the is lite mode field of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to work on </td></tr>
    <tr><td class="paramname">IsLite</td><td>is the value for whether hardware is in lite mode</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga3467e25f29ab081f1d9b0a1a685adbfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3467e25f29ab081f1d9b0a1a685adbfa">&#9670;&nbsp;</a></span>XAxiCdma_BdSetLength()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdSetLength </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>LenBytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function sets the length of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to set the length </td></tr>
    <tr><td class="paramname">LenBytes</td><td>is the length of the buffer</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_INVALID_PARAM if invalid length: Length value out of valid range</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>One case that will cause hardware failure is not covered here: If the start address is not at page offset 0, and the length plus the offset crosses the page boundary, this will cause slave error if the hardware is built in lite mode. </dd></dl>

</div>
</div>
<a id="ga03aff38e0c27e9925e4a79986e351e0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga03aff38e0c27e9925e4a79986e351e0d">&#9670;&nbsp;</a></span>XAxiCdma_BdSetMaxLen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdSetMaxLen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>MaxLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function sets the maximum transfer length field of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to work on </td></tr>
    <tr><td class="paramname">MaxLen</td><td>is the maximum transfer length in bytes</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="gab4d51959154b33364f8e3104c4a1afb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab4d51959154b33364f8e3104c4a1afb0">&#9670;&nbsp;</a></span>XAxiCdma_BdSetNextPtr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdSetNextPtr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>NextBdPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function set the Next BD ptr of a BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to set the Next BD ptr </td></tr>
    <tr><td class="paramname">NextBdPtr</td><td>is the valud of Next BD ptr</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga27a4cefa4eee7b30158763c0619c725b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga27a4cefa4eee7b30158763c0619c725b">&#9670;&nbsp;</a></span>XAxiCdma_BdSetPhysAddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdSetPhysAddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>PhysAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function sets the Physical address of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to set the physical address </td></tr>
    <tr><td class="paramname">PhysAddr</td><td>is the physical address of the BD</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga18cd5efedba0025703b7c3a845f52cad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga18cd5efedba0025703b7c3a845f52cad">&#9670;&nbsp;</a></span>XAxiCdma_BdSetSrcBufAddr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_BdSetSrcBufAddr </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>Addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function sets the source address of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to set the source address </td></tr>
    <tr><td class="paramname">Addr</td><td>is the source address of the buffer</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if buffer address set successfully</li>
<li>XST_INVALID_PARAM if buffer address is not aligned and hardware build has no DRE or in lite mode</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga1141024e912e7012d2c716cef9fc791f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1141024e912e7012d2c716cef9fc791f">&#9670;&nbsp;</a></span>XAxiCdma_BdSetTailBdPtr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdSetTailBdPtr </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>TailBdPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function set the Tail BD ptr of a BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to set the Next BD ptr </td></tr>
    <tr><td class="paramname">Tail</td><td>Bd is the value of Tail BD ptr</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#gaca543a8c03c6cd2d6d7284cc4bd119c2">XAXICDMA_DESC_LSB_MASK</a>, <a class="el" href="group__axicdma__v4__0.html#gaed7af011eefd18c937d40571593b9297">XAXICDMA_TDESC_MSB_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#ga5a00af58a865daf4ee6995ade0c9cdd1">XAXICDMA_TDESC_OFFSET</a>, and <a class="el" href="group__axicdma__v4__0.html#ga4d7304606411f8ed955c6d930e387c18">XAxiCdma_WriteReg</a>.</p>

</div>
</div>
<a id="ga7956eaa8a90bcf2a0894d513b9c15639"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7956eaa8a90bcf2a0894d513b9c15639">&#9670;&nbsp;</a></span>XAxiCdma_BdSetWordLen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_BdSetWordLen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>WordLen</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function sets the word length field of the BD. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to work on </td></tr>
    <tr><td class="paramname">WordLen</td><td>is the length of word in bytes</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="gab746b095007351c2fb2c1a7cf3693f2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab746b095007351c2fb2c1a7cf3693f2c">&#9670;&nbsp;</a></span>XAxiCdma_CfgInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XAxiCdma_Config *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function initializes the driver. </p>
<p>It should be called before any other function calls to the driver.</p>
<p>It sets up the driver according to the hardware build. It resets the hardware at the end.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance that is working on </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>is the pointer to the hardware configuration structure </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the virtual address of the hardware instance. If address translation is not in use, please use the physical address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_INVALID_PARAM if word length is less than 4</li>
<li>XST_FAILURE for reset failure</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#gac84f0c20f910716d8f3e48ff23294440">XAXICDMA_MAX_TRANSFER_LEN</a>, <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>, <a class="el" href="group__axicdma__v4__0.html#gaa5e9b49d3805237bc9ed772948fbf4ae">XAXICDMA_SR_OFFSET</a>, and <a class="el" href="group__axicdma__v4__0.html#gada1a00e54aeb12049cd23a005eb47c52">XAXICDMA_SR_SGINCLD_MASK</a>.</p>

<p class="reference">Referenced by <a class="el" href="xaxicdma__example__hybrid__intr_8c.html#aa3844ee86f190423787a2b788d85c2f7">XAxiCdma_HybridIntrExample()</a>, and <a class="el" href="xaxicdma__example__hybrid__poll_8c.html#adf9c32fa950b88ad2bfd9004d07187fc">XAxiCdma_HybridPollExample()</a>.</p>

</div>
</div>
<a id="ga37f4ecb500f691583798662804d5da18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga37f4ecb500f691583798662804d5da18">&#9670;&nbsp;</a></span>XAxiCdma_DumpBd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_DumpBd </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__axicdma__v4__0.html#ga33f9ce1ca035334d63cd08d4cf26daea">XAxiCdma_Bd</a> *&#160;</td>
          <td class="paramname"><em>BdPtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma__bd_8c.html">xaxicdma_bd.c</a>&gt;</code></p>

<p>This function dumps the BD, it is a debug utility. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BdPtr</td><td>is the pointer to the BD to get the physical address</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

</div>
</div>
<a id="ga3287c31f1aa41a1e4a535af134324524"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3287c31f1aa41a1e4a535af134324524">&#9670;&nbsp;</a></span>XAxiCdma_DumpRegisters()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_DumpRegisters </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function dumps the registers of this DMA instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga92087f03877293982f895e8178557f6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga92087f03877293982f895e8178557f6a">&#9670;&nbsp;</a></span>XAxiCdma_GetCoalesce()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_GetCoalesce </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>CounterPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>DelayPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function gets the current setting of the interrupt coalescing threshold counter and the delay counter. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">CounterPtr</td><td>is the return value for the coalescing counter setting </td></tr>
    <tr><td class="paramname">DelayPtr</td><td>is the return value for the delay counter setting</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A zero coalescing threshold indicates invalid results</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>, and <a class="el" href="group__axicdma__v4__0.html#ga156955220ded772774e8146b2ff6e7d6">XAXICDMA_XR_COALESCE_MASK</a>.</p>

</div>
</div>
<a id="gae1fbdb8f7ad8926f744c771e07814f72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae1fbdb8f7ad8926f744c771e07814f72">&#9670;&nbsp;</a></span>XAxiCdma_GetError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_GetError </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function gets the status on error bits. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The error bits in the status register. Zero indicates no errors.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>, <a class="el" href="group__axicdma__v4__0.html#gabec2417b4096d65fa8f07a84eef38cea">XAXICDMA_SR_ERR_ALL_MASK</a>, and <a class="el" href="group__axicdma__v4__0.html#gaa5e9b49d3805237bc9ed772948fbf4ae">XAXICDMA_SR_OFFSET</a>.</p>

</div>
</div>
<a id="gabdccf08d74f4e037b06a36a2e9db2877"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabdccf08d74f4e037b06a36a2e9db2877">&#9670;&nbsp;</a></span>XAxiCdma_IntrDisable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_IntrDisable </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function disables interrupts specified by the Mask. </p>
<p>Interrupts that are not in the mask are not affected.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">Mask</td><td>is the mask for the interrupts to be disabled</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>, <a class="el" href="group__axicdma__v4__0.html#ga4d7304606411f8ed955c6d930e387c18">XAxiCdma_WriteReg</a>, and <a class="el" href="group__axicdma__v4__0.html#gad2b921e876e581f84be0e7c152d13221">XAXICDMA_XR_IRQ_ALL_MASK</a>.</p>

</div>
</div>
<a id="ga9f146fe224ea4c9a86477de3030dd79a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9f146fe224ea4c9a86477de3030dd79a">&#9670;&nbsp;</a></span>XAxiCdma_IntrEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_IntrEnable </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function enables interrupts specified by the Mask. </p>
<p>Interrupts that are not in the mask are not affected.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">Mask</td><td>is the mask for the interrupts to be enabled</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>, <a class="el" href="group__axicdma__v4__0.html#ga4d7304606411f8ed955c6d930e387c18">XAxiCdma_WriteReg</a>, and <a class="el" href="group__axicdma__v4__0.html#gad2b921e876e581f84be0e7c152d13221">XAXICDMA_XR_IRQ_ALL_MASK</a>.</p>

</div>
</div>
<a id="ga1a269e884ce6e3552313521dea8032b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1a269e884ce6e3552313521dea8032b6">&#9670;&nbsp;</a></span>XAxiCdma_IntrGetEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_IntrGetEnabled </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function gets the mask for the interrupts that are currently enabled. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The bit mask for the interrupts that are currently enabled</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>, and <a class="el" href="group__axicdma__v4__0.html#gad2b921e876e581f84be0e7c152d13221">XAXICDMA_XR_IRQ_ALL_MASK</a>.</p>

</div>
</div>
<a id="ga8acd5bf5f5f072c6e425a8cc1b589498"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8acd5bf5f5f072c6e425a8cc1b589498">&#9670;&nbsp;</a></span>XAxiCdma_IntrHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_IntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>HandlerRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>This function is the interrupt handler for the driver, it handles all the interrupts. </p>
<p>For the completion of a transfer that has a callback function, the callback function is called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">HandlerRef</td><td>is a reference pointer passed to the interrupt registration function. It will be a pointer to the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If one transfer does not have all its submitted BDs completed successfully,then a reset is needed to clean up the mess left by that transfer.Otherwise, the wrong interrupt callback maybe called for the following transfers. However, if you always use the same interrupt callback for all the transfers, and you are the only user of the DMA engine, then you do not have to worry about this. </dd></dl>

</div>
</div>
<a id="gaee6e140ed15cd9b7e49145e01220115a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaee6e140ed15cd9b7e49145e01220115a">&#9670;&nbsp;</a></span>XAxiCdma_IsBusy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiCdma_IsBusy </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function checks whether the hardware is doing transfer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>1 if the hardware is doing a transfer</li>
<li>0 if the hardware is idle</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>, <a class="el" href="group__axicdma__v4__0.html#ga73bb174cc046fe8f5d51da6f2d11cfaa">XAXICDMA_SR_IDLE_MASK</a>, and <a class="el" href="group__axicdma__v4__0.html#gaa5e9b49d3805237bc9ed772948fbf4ae">XAXICDMA_SR_OFFSET</a>.</p>

<p class="reference">Referenced by <a class="el" href="group__axicdma__v4__0.html#ga3183f9f25654d2a066c19213f29897be">XAxiCdma_BdRingClone()</a>, and <a class="el" href="group__axicdma__v4__0.html#ga815f36efce97dba797f67f9acbbb761d">XAxiCdma_SelectKeyHole()</a>.</p>

</div>
</div>
<a id="ga3ecc6331ed89e613e7f1fb53f45a4cb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ecc6331ed89e613e7f1fb53f45a4cb0">&#9670;&nbsp;</a></span>XAxiCdma_LookupConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XAxiCdma_Config * XAxiCdma_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8h.html">xaxicdma.h</a>&gt;</code></p>

<p>Look up the hardware configuration for a device instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device to lookup for</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The configuration structure for the device. If the device ID is not found,a NULL pointer is returned.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xaxicdma__example__hybrid__intr_8c.html#aa3844ee86f190423787a2b788d85c2f7">XAxiCdma_HybridIntrExample()</a>, and <a class="el" href="xaxicdma__example__hybrid__poll_8c.html#adf9c32fa950b88ad2bfd9004d07187fc">XAxiCdma_HybridPollExample()</a>.</p>

</div>
</div>
<a id="gaaf97cc8317af0bf1678973925beff0c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaf97cc8317af0bf1678973925beff0c5">&#9670;&nbsp;</a></span>XAxiCdma_Reset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XAxiCdma_Reset </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function conducts hardware reset. </p>
<p>Current transfer will finish gracefully. However, all queued SG transfers that have not started will be flushed from the hardware.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#ga0f6d1104468e9f155a3b9477a84531a6">XAXICDMA_CR_RESET_MASK</a>, and <a class="el" href="group__axicdma__v4__0.html#ga4d7304606411f8ed955c6d930e387c18">XAxiCdma_WriteReg</a>.</p>

</div>
</div>
<a id="ga2575375744593bd55425365dde7744e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2575375744593bd55425365dde7744e5">&#9670;&nbsp;</a></span>XAxiCdma_ResetIsDone()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiCdma_ResetIsDone </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function checks whether the hardware reset is done. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>1 if the reset has finished successfully</li>
<li>0 if the reset is not done</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#ga0f6d1104468e9f155a3b9477a84531a6">XAXICDMA_CR_RESET_MASK</a>, and <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>.</p>

</div>
</div>
<a id="ga815f36efce97dba797f67f9acbbb761d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga815f36efce97dba797f67f9acbbb761d">&#9670;&nbsp;</a></span>XAxiCdma_SelectKeyHole()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiCdma_SelectKeyHole </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Direction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Select</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function configures KeyHole Write/Read Feature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on</td></tr>
    <tr><td class="paramname">Direction</td><td>is WRITE/READ  Select is the option to enable (TRUE) or disable (FALSE).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- XST_SUCCESS for success<ul>
<li>XST_DEVICE_BUSY when transfer is in progress</li>
<li>XST_NO_FEATURE when not configured with feature</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>, <a class="el" href="group__axicdma__v4__0.html#gaee6e140ed15cd9b7e49145e01220115a">XAxiCdma_IsBusy()</a>, and <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>.</p>

</div>
</div>
<a id="ga91adf55050cb617cee00b0ba2f0d754e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga91adf55050cb617cee00b0ba2f0d754e">&#9670;&nbsp;</a></span>XAxiCdma_SetCoalesce()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XAxiCdma_SetCoalesce </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Counter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Delay</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function tries to set the interrupt coalescing threshold counter and the delay counter. </p>
<p>If to set only one of the counters, set the value of the other counter to be XAXICDMA_COALESCE_NO_CHANGE.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the driver instance we are working on </td></tr>
    <tr><td class="paramname">Counter</td><td>is the coalescing threshold to set to, the valid range is 1 to XAXICDMA_COALESCE_MAX. </td></tr>
    <tr><td class="paramname">Delay</td><td>is the delay timeout counter to set to, the valid range is 0 to XAXICDMA_DELAY_MAX. Setting a value of 0 disables the delay interrupt.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success</li>
<li>XST_FAILURE if hardware is in invalid state, for example, reset failed</li>
<li>XST_INVALID_PARAM if one of the counters is not in the valid range</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__axicdma__v4__0.html#ga1f23c9a4fe3565eb423286405a1de5ca">XAXICDMA_CR_OFFSET</a>, and <a class="el" href="group__axicdma__v4__0.html#ga2f2bfb34c5bfec00baa06b782e7e68a6">XAxiCdma_ReadReg</a>.</p>

</div>
</div>
<a id="ga1e81ba2046ada4a40527c50ee7fdce9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e81ba2046ada4a40527c50ee7fdce9a">&#9670;&nbsp;</a></span>XAxiCdma_SimpleTransfer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAxiCdma_SimpleTransfer </td>
          <td>(</td>
          <td class="paramtype">XAxiCdma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>SrcAddr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>DstAddr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XAxiCdma_CallBackFn&#160;</td>
          <td class="paramname"><em>SimpleCallBack</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xaxicdma_8c.html">xaxicdma.c</a>&gt;</code></p>

<p>This function does one simple transfer submission. </p>
<p>It checks in the following sequence:</p><ul>
<li>if engine is busy, cannot submit</li>
<li>if software is still handling the completion of the previous simple transfer, cannot submit</li>
<li>if engine is in SG mode and cannot switch to simple mode, cannot submit</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the pointer to the driver instance </td></tr>
    <tr><td class="paramname">SrcAddr</td><td>is the address of the source buffer </td></tr>
    <tr><td class="paramname">DstAddr</td><td>is the address of the destination buffer </td></tr>
    <tr><td class="paramname">Length</td><td>is the length of the transfer </td></tr>
    <tr><td class="paramname">SimpleCallBack</td><td>is the callback function for the simple transfer </td></tr>
    <tr><td class="paramname">CallBackRef</td><td>is the callback reference pointer</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS for success of submission</li>
<li>XST_FAILURE for submission failure, maybe caused by: Another simple transfer is still going . Another SG transfer is still going</li>
<li>XST_INVALID_PARAM if: Length out of valid range [1:8M] Or, address not aligned when DRE is not built in</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Only set the callback function if using interrupt to signal the completion.If used in polling mode, please set the callback function to be NULL. </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
